Improve player transitions

This commit is contained in:
Arkadiusz Fal
2022-08-08 20:02:46 +02:00
parent e17546321b
commit 8c8e03931f
8 changed files with 137 additions and 115 deletions

View File

@@ -63,6 +63,8 @@ struct ControlsBar: View {
}
} else if detailsToggleFullScreen {
Button {
playerControls.presentingControlsOverlay = false
playerControls.presentingControls = false
withAnimation {
fullScreen.toggle()
}