mirror of
https://github.com/yattee/yattee.git
synced 2025-01-10 11:30:32 +05:30
Fix setting PiP delegate
This commit is contained in:
parent
7a7a953131
commit
8cd9a5e86c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user