Merge pull request #241 from Amos729/master
fix bug: solve warning triggered by constantsToExport
This commit is contained in:
commit
7b7d8a9ec8
@ -135,6 +135,10 @@ RCT_EXPORT_MODULE(RCTHotUpdate);
|
|||||||
return [RCTHotUpdate binaryBundleURL];
|
return [RCTHotUpdate binaryBundleURL];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ (BOOL)requiresMainQueueSetup {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
- (NSDictionary *)constantsToExport
|
- (NSDictionary *)constantsToExport
|
||||||
{
|
{
|
||||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user