Minor improvements

This commit is contained in:
Arkadiusz Fal
2022-02-21 21:57:12 +01:00
parent 8e74c3ec0a
commit a17cbf0085
6 changed files with 23 additions and 22 deletions

View File

@@ -302,6 +302,9 @@ final class PlayerModel: ObservableObject {
}
private func handleNavigationViewPlayerPresentationChange() {
backend.setNeedsDrawing(playerNavigationLinkActive)
controls.hide()
if pauseOnHidingPlayer, !playingInPictureInPicture, !playerNavigationLinkActive {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
self.pause()