mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
[ReactNative] Fix ref to eventDispatcher on RCTBridge
This commit is contained in:
parent
b97ce93cea
commit
6b38fad219
@ -868,6 +868,11 @@ static id<RCTJavaScriptExecutor> _latestJSExecutor;
|
||||
return _batchedBridge.modules;
|
||||
}
|
||||
|
||||
- (RCTEventDispatcher *)eventDispatcher
|
||||
{
|
||||
return _eventDispatcher ?: _batchedBridge.eventDispatcher;
|
||||
}
|
||||
|
||||
#define RCT_BRIDGE_WARN(...) \
|
||||
- (void)__VA_ARGS__ \
|
||||
{ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user