Revert "type _eventDispatcher as RCTEventDispatcherProtocol"

This reverts commit 537d36cf60.
This commit is contained in:
olivier bouillet 2022-09-14 08:08:07 +02:00
parent 82e537085d
commit 1d4665f9e8

View File

@ -21,7 +21,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
private var _localSourceEncryptionKeyScheme:String?
/* Required to publish events */
private var _eventDispatcher:RCTEventDispatcherProtocol?
private var _eventDispatcher:RCTEventDispatcher?
private var _videoLoadStarted:Bool = false
private var _pendingSeek:Bool = false
@ -95,7 +95,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
@objc var onRestoreUserInterfaceForPictureInPictureStop: RCTDirectEventBlock?
@objc var onGetLicense: RCTDirectEventBlock?
init(eventDispatcher:RCTEventDispatcherProtocol!) {
init(eventDispatcher:RCTEventDispatcher!) {
super.init(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
_eventDispatcher = eventDispatcher