Merge branch 'master' into master

This commit is contained in:
Olivier Bouillet
2022-12-09 22:15:55 +01:00
committed by GitHub
3 changed files with 18 additions and 4 deletions

View File

@@ -685,7 +685,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
if _controls {
let viewController:UIViewController! = self.reactViewController()
viewController.addChild(_playerViewController)
viewController?.addChild(_playerViewController)
self.addSubview(_playerViewController.view)
}