Improve playback bar font colors

This commit is contained in:
Arkadiusz Fal 2021-11-30 23:59:24 +01:00
parent 52ab162a6c
commit f60f7a0455

View File

@ -16,13 +16,10 @@ struct PlaybackBar: View {
if player.currentItem != nil {
HStack {
Text(playbackStatus)
Text("")
rateMenu
}
.font(.caption2)
.foregroundColor(.gray)
Spacer()
@ -59,12 +56,12 @@ struct PlaybackBar: View {
#endif
}
.transaction { t in t.animation = .none }
.foregroundColor(.gray)
.font(.caption2)
} else {
Spacer()
}
}
.foregroundColor(colorScheme == .dark ? .gray : .black)
.alert(isPresented: $player.presentingErrorDetails) {
Alert(
title: Text("Error"),