From 46c8c498c474600a0b35ebaf744306aefa42905f Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Thu, 7 Mar 2024 20:16:11 +0100 Subject: [PATCH] fix(ios): fix missing bridge in bridgeless mode (#3570) --- ios/Video/RCTVideoManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/RCTVideoManager.swift b/ios/Video/RCTVideoManager.swift index bfc398d7..e2055c02 100644 --- a/ios/Video/RCTVideoManager.swift +++ b/ios/Video/RCTVideoManager.swift @@ -4,7 +4,7 @@ import React @objc(RCTVideoManager) class RCTVideoManager: RCTViewManager { override func view() -> UIView { - return RCTVideo(eventDispatcher: bridge.eventDispatcher() as! RCTEventDispatcher) + return RCTVideo(eventDispatcher: (RCTBridge.current().eventDispatcher() as! RCTEventDispatcher)) } func methodQueue() -> DispatchQueue {