@@ -16,10 +16,9 @@ struct PlayerActionsView: View {
16
16
. tint ( viewStore. mode == . noRepeat ? . primary : . white)
17
17
}
18
18
)
19
- . padding ( CustomStyle . spacing ( . tiny ) )
19
+ . padding ( CustomStyle . spacing ( . narrow ) )
20
20
. background ( viewStore. mode == . noRepeat ? . clear : . accentColor)
21
21
. cornerRadius ( CustomStyle . cornerRadius ( . medium) )
22
- . disabled ( viewStore. isPlaylistVisible)
23
22
24
23
Spacer ( )
25
24
@@ -37,8 +36,8 @@ struct PlayerActionsView: View {
37
36
}
38
37
}
39
38
)
40
- . padding ( CustomStyle . spacing ( . tiny ) )
41
- . disabled ( viewStore . isPlaylistVisible || !viewStore. hasCurrentSong)
39
+ . padding ( CustomStyle . spacing ( . narrow ) )
40
+ . disabled ( !viewStore. hasCurrentSong)
42
41
43
42
Spacer ( )
44
43
@@ -48,15 +47,14 @@ struct PlayerActionsView: View {
48
47
} ,
49
48
label: {
50
49
Image ( systemName: " list.bullet " )
51
- . tint ( . primary)
50
+ . tint ( viewStore . isPlaylistVisible ? . white : . primary)
52
51
}
53
52
)
54
- . padding ( CustomStyle . spacing ( . tiny ) )
55
- . background ( viewStore. isPlaylistVisible ? Color . init ( . systemGray3 ) : Color . clear)
56
- . cornerRadius ( CustomStyle . cornerRadius ( . small ) )
53
+ . padding ( CustomStyle . spacing ( . narrow ) )
54
+ . background ( viewStore. isPlaylistVisible ? Color . accentColor : . clear)
55
+ . cornerRadius ( CustomStyle . cornerRadius ( . medium ) )
57
56
}
58
57
} )
59
- . padding ( . horizontal, CustomStyle . spacing ( . large) )
60
58
}
61
59
}
62
60
0 commit comments