1
0
mirror of https://github.com/yattee/yattee.git synced 2025-04-29 00:10:34 +05:30

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 { 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"),