mirror of
https://github.com/yattee/yattee.git
synced 2024-12-14 22:30:32 +05:30
Fix setting PiP delegate
This commit is contained in:
parent
c1295dc29a
commit
b3cb5f0706
@ -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