mirror of
https://github.com/status-im/react-native-languages.git
synced 2025-01-29 17:36:16 +00:00
Fix RN 0.48+ warning about requiresMainQueueSetup
This commit is contained in:
parent
663312f180
commit
37f70235b3
@ -5,7 +5,10 @@
|
||||
|
||||
RCT_EXPORT_MODULE();
|
||||
|
||||
#pragma mark - Private API
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (NSMutableArray *)ensureLanguageTags:(NSArray *)languages
|
||||
{
|
||||
@ -18,8 +21,6 @@ RCT_EXPORT_MODULE();
|
||||
return sanitizedLanguages;
|
||||
}
|
||||
|
||||
#pragma mark - Public API
|
||||
|
||||
- (NSDictionary *)constantsToExport
|
||||
{
|
||||
NSArray *preferredLanguages = [[[UIDevice currentDevice] systemVersion] floatValue] >= 9
|
||||
|
Loading…
x
Reference in New Issue
Block a user