Fix PiP close on Mac

This commit is contained in:
Arkadiusz Fal
2023-05-22 22:48:11 +02:00
parent 16fb7087e3
commit c0053cf837
4 changed files with 9 additions and 11 deletions

View File

@@ -28,6 +28,7 @@ struct PlayerBackendView: View {
{
AppleAVPlayerView()
} else if !avPlayerUsesSystemControls ||
player.playingInPictureInPicture ||
player.avPlayerBackend.isStartingPiP
{
AppleAVPlayerLayerView()