Skip to content

Commit

Permalink
fix(ios): fix missing bridge in bridgeless mode (#3570)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch authored Mar 7, 2024
1 parent 75c5c1c commit 46c8c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Video/RCTVideoManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 46c8c49

Please sign in to comment.