1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 06:40:32 +05:30

Fix setting PiP delegate

This commit is contained in:
Arkadiusz Fal 2022-06-26 23:37:43 +02:00
parent c1295dc29a
commit b3cb5f0706

View File

@ -297,7 +297,7 @@ struct VideoPlayerView: View {
pipDelegate.player = player pipDelegate.player = player
player.pipDelegate = pipDelegate player.pipDelegate = pipDelegate
player.pipController!.delegate = pipDelegate player.pipController?.delegate = pipDelegate
player.playerLayerView.playerLayer.player = player.avPlayerBackend.avPlayer player.playerLayerView.playerLayer.player = player.avPlayerBackend.avPlayer
} }
#endif #endif