mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Improve playback bar font colors
This commit is contained in:
@@ -16,13 +16,10 @@ struct PlaybackBar: View {
|
|||||||
if player.currentItem != nil {
|
if player.currentItem != nil {
|
||||||
HStack {
|
HStack {
|
||||||
Text(playbackStatus)
|
Text(playbackStatus)
|
||||||
|
|
||||||
Text("•")
|
Text("•")
|
||||||
|
|
||||||
rateMenu
|
rateMenu
|
||||||
}
|
}
|
||||||
.font(.caption2)
|
.font(.caption2)
|
||||||
.foregroundColor(.gray)
|
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
@@ -59,12 +56,12 @@ struct PlaybackBar: View {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
.transaction { t in t.animation = .none }
|
.transaction { t in t.animation = .none }
|
||||||
.foregroundColor(.gray)
|
|
||||||
.font(.caption2)
|
.font(.caption2)
|
||||||
} else {
|
} else {
|
||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.foregroundColor(colorScheme == .dark ? .gray : .black)
|
||||||
.alert(isPresented: $player.presentingErrorDetails) {
|
.alert(isPresented: $player.presentingErrorDetails) {
|
||||||
Alert(
|
Alert(
|
||||||
title: Text("Error"),
|
title: Text("Error"),
|
||||||
|
Reference in New Issue
Block a user