Skip to content

Commit

Permalink
fix(requiresMainQueueSetup): stop warning requiresMainQueueSetup
Browse files Browse the repository at this point in the history
  • Loading branch information
numandev1 committed Apr 24, 2019
1 parent 2ddae0a commit 78b2c8b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions __tests__/__snapshots__/ios-objc.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ RCT_EXPORT_VIEW_PROPERTY(exampleProp, NSString)
};
}
+ (BOOL)requiresMainQueueSetup
{
return YES;
}
@end
"
`;
5 changes: 5 additions & 0 deletions templates/ui-components/ios-objc/TemplateManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ - (NSDictionary *)constantsToExport
};
}

+ (BOOL)requiresMainQueueSetup
{
return YES;
}

@end

0 comments on commit 78b2c8b

Please sign in to comment.