mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08:00
Reverted commit D4081915
Reviewed By: fkgozali Differential Revision: D4081915 fbshipit-source-id: 7fa750becc12b40861f30d86411388180fec2d59
This commit is contained in:
committed by
Facebook Github Bot
parent
3580de541d
commit
cea7c6edf2
@@ -51,7 +51,7 @@
|
||||
|
||||
// If a module overrides `constantsToExport` then we must assume that it
|
||||
// must be called on the main thread, because it may need to access UIKit.
|
||||
_hasConstantsToExport = [_moduleClass instancesRespondToSelector:@selector(constantsToExport)];
|
||||
_hasConstantsToExport = RCTClassOverridesInstanceMethod(_moduleClass, @selector(constantsToExport));
|
||||
}
|
||||
|
||||
- (instancetype)initWithModuleClass:(Class)moduleClass
|
||||
|
||||
Reference in New Issue
Block a user