Browse files

Implement requiresMainQueueSetup in RCTTVNavigationEventEmitter

Fix the following warning:

> Module RCTTVNavigationEventEmitter requires main queue setup since it overrides `init` but doesn't implement `requiresMainQueueSetup`. In a future release React Native will default to initializing all native modules on a background thread unless explicitly opted-out of.

Trivial change.

[IOS] [MINOR] [RCTTVNavigationEventEmitter] - Implement `requiresMainQueueSetup` in `RCTTVNavigationEventEmitter`
Closes #16915

Differential Revision: D6394636

Pulled By: shergin

fbshipit-source-id: 3981655832715e73e93ef917d987e25097029b84
  • Loading branch information...
charpeni authored and facebook-github-bot committed Nov 22, 2017
1 parent 75123c6 commit ee3532b5c266d5ee7fb12920cb611a41b1daf750
Showing with 5 additions and 0 deletions.
  1. +5 −0 React/Modules/RCTTVNavigationEventEmitter.m
@@ -17,6 +17,11 @@ @implementation RCTTVNavigationEventEmitter
+ (BOOL)requiresMainQueueSetup
return NO;
- (instancetype)init
if (self = [super init]) {

0 comments on commit ee3532b

Please sign in to comment.