File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ public struct MenubarButton: View {
4646 . shadow ( radius: disabled ? 0 : 7 )
4747 )
4848 }
49+ . environment ( \. colorScheme, . dark)
4950 . disabled ( disabled)
5051 . buttonStyle ( . borderless)
5152 }
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ public struct SmallMenubarButtonStyle: ButtonStyle {
5555 . shadow ( radius: disabled ? 0 : 7 )
5656 )
5757 . opacity ( configuration. isPressed ? 0.7 : 1 )
58+ . environment ( \. colorScheme, . dark)
5859 }
5960}
6061
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ struct SongControlButton: View {
2222 Image ( systemName: systemImage)
2323// .frame(width: 25, height: 18)
2424 }
25+ . environment ( \. colorScheme, . dark)
2526// .background {
2627// RoundedRectangle(cornerRadius: 10)
2728// .fill(.gray.opacity(isHovering ? 0.5 : 0.0))
You can’t perform that action at this time.
0 commit comments