mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Fix hiding overlays
This commit is contained in:
parent
59e5fcb37d
commit
1efd9e2b90
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user