mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 10:14:49 +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;
|
return _batchedBridge.modules;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (RCTEventDispatcher *)eventDispatcher
|
||||||
|
{
|
||||||
|
return _eventDispatcher ?: _batchedBridge.eventDispatcher;
|
||||||
|
}
|
||||||
|
|
||||||
#define RCT_BRIDGE_WARN(...) \
|
#define RCT_BRIDGE_WARN(...) \
|
||||||
- (void)__VA_ARGS__ \
|
- (void)__VA_ARGS__ \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user