mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
remove unnecessary requiresMainQueueSetup (#41295)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41295 Changelog: [Internal] modules will be setup on main queue for any the following criteria: - override requiresMainQueueSetup and set it to yes - have a method that starts with `init` - have `constantsToExport` implemented these methods return `NO` but don't fulfill the latter criteria, so we should just delete them Reviewed By: cipolleschi Differential Revision: D50919151 fbshipit-source-id: 662bd067a1bae0f81acfabfc95b2a2af0c0a3180
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a2a219c27e
commit
1301da8e02
@@ -14,11 +14,6 @@
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (UIView *)view
|
||||
{
|
||||
return [[RCTInputAccessoryView alloc] initWithBridge:self.bridge];
|
||||
|
||||
Reference in New Issue
Block a user