Skip to content

Commit

Permalink
remove unnecessary requiresMainQueueSetup
Browse files Browse the repository at this point in the history
Summary:
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
  • Loading branch information
philIip authored and facebook-github-bot committed Nov 2, 2023
1 parent d5e1eb8 commit fa4788f
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ @implementation RCTInputAccessoryViewManager

RCT_EXPORT_MODULE()

+ (BOOL)requiresMainQueueSetup
{
return NO;
}

- (UIView *)view
{
return [[RCTInputAccessoryView alloc] initWithBridge:self.bridge];
Expand Down

0 comments on commit fa4788f

Please sign in to comment.