Fix hiding overlays

This commit is contained in:
Arkadiusz Fal 2023-06-08 12:11:44 +02:00
parent 59e5fcb37d
commit 1efd9e2b90

View File

@ -719,10 +719,10 @@ final class AVPlayerBackend: PlayerBackend {
}
#if os(iOS)
ControlOverlaysModel.shared.hide()
model.navigation.presentingPlaybackSettings = false
if model.playingFullScreen {
ControlOverlaysModel.shared.hide()
model.navigation.presentingPlaybackSettings = false
model.onPlayStream.append { _ in
self.controller.enterFullScreen(animated: true)
}