mirror of
https://github.com/yattee/yattee.git
synced 2025-04-28 07:50:33 +05:30
Improve playback bar font colors
This commit is contained in:
parent
52ab162a6c
commit
f60f7a0455
@ -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"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user