Minor improvements

This commit is contained in:
Arkadiusz Fal
2022-05-29 22:13:21 +02:00
parent 31c5ed1643
commit ab8549e103
4 changed files with 28 additions and 22 deletions

View File

@@ -169,8 +169,7 @@ final class AVPlayerBackend: PlayerBackend {
}
#else
func closePiP(wasPlaying: Bool) {
controller?.playerView.player = nil
controller?.playerView.player = avPlayer
model.pipController?.stopPictureInPicture()
guard wasPlaying else {
return