Skip to content

Commit

Permalink
Merge pull request #133 from Crash--/patch-1
Browse files Browse the repository at this point in the history
Fix RN 0.48+ warning about requiresMainQueueSetup
  • Loading branch information
zoontek authored Oct 9, 2017
2 parents 2d43c3a + fb59f5f commit 97f7399
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/RNI18n.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ @implementation RNI18n

RCT_EXPORT_MODULE();

+ (BOOL)requiresMainQueueSetup
{
return YES;
}
- (NSMutableArray *)toLanguageTags:(NSArray *)languages {
NSMutableArray *languageTags = [NSMutableArray array];

Expand Down

0 comments on commit 97f7399

Please sign in to comment.