File tree 1 file changed +10
-10
lines changed
swmpc/Views/Content/Destinations/Rows
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -58,17 +58,17 @@ struct AlbumView: View {
58
58
#endif
59
59
}
60
60
#if os(macOS)
61
- . onHover( perform: { value in
62
- withAnimation ( . interactiveSpring) {
63
- isHoveringArtwork = value
64
- }
65
- } )
61
+ . onHover( perform: { value in
62
+ withAnimation ( . interactiveSpring) {
63
+ isHoveringArtwork = value
64
+ }
65
+ } )
66
66
#endif
67
- . onTapGesture {
68
- Task ( priority: . userInitiated) {
69
- try ? await ConnectionManager . command ( ) . play ( album)
67
+ . onTapGesture {
68
+ Task ( priority: . userInitiated) {
69
+ try ? await ConnectionManager . command ( ) . play ( album)
70
+ }
70
71
}
71
- }
72
72
73
73
VStack ( alignment: . leading) {
74
74
Text ( album. title)
@@ -86,7 +86,7 @@ struct AlbumView: View {
86
86
. id ( album. id)
87
87
. contentShape ( Rectangle ( ) )
88
88
. task ( id: album, priority: . medium) {
89
- guard !Task. isCancelled else {
89
+ guard !Task. isCancelled, artwork == nil else {
90
90
return
91
91
}
92
92
You can’t perform that action at this time.
0 commit comments