Minor UI changes

This commit is contained in:
Arkadiusz Fal
2022-06-25 01:39:29 +02:00
parent 7b09805b81
commit c940fb3198
20 changed files with 247 additions and 436 deletions

View File

@@ -23,8 +23,6 @@ struct PlayerControls: View {
@FocusState private var focusedField: Field?
#endif
@Default(.controlsBarInPlayer) private var controlsBarInPlayer
init(player: PlayerModel, thumbnails: ThumbnailsModel) {
self.player = player
self.thumbnails = thumbnails
@@ -191,12 +189,13 @@ struct PlayerControls: View {
HStack(spacing: 20) {
#if !os(tvOS)
fullscreenButton
pipButton
#if os(iOS)
pipButton
#endif
Spacer()
button("overlay", systemImage: "info.circle") {}
button("settings", systemImage: "gearshape", active: model.presentingControlsOverlay) {
withAnimation(Self.animation) {
model.presentingControlsOverlay.toggle()