mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
remove override on setModuleRegistry
Summary: changelog: [internal] this never fired, so it's not the cause of the nil moduleRegistry issue Reviewed By: christophpurrer Differential Revision: D35419873 fbshipit-source-id: 45693d3aa97d9efed2fe5085c281b57f1629764d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fcdcc8a223
commit
98071f736a
@@ -69,14 +69,6 @@ RCT_EXPORT_MODULE()
|
||||
object:nil];
|
||||
}
|
||||
|
||||
- (void)setModuleRegistry:(RCTModuleRegistry *)moduleRegistry
|
||||
{
|
||||
if (!moduleRegistry) {
|
||||
RCTAssert(false, @"moduleRegistry should not be nil, _moduleRegistry is nil: %d", _moduleRegistry == nil);
|
||||
}
|
||||
_moduleRegistry = moduleRegistry;
|
||||
}
|
||||
|
||||
static BOOL RCTIsIPhoneX()
|
||||
{
|
||||
static BOOL isIPhoneX = NO;
|
||||
|
||||
Reference in New Issue
Block a user