Skip to content

Commit

Permalink
Enable dev menu in tvOS simulator
Browse files Browse the repository at this point in the history
Summary:
There was no easy way to pull up the dev menu in the tvOS simulator

Run the UIExplorer demo and press cmd+d to bring up the menu
Closes #13584

Differential Revision: D4916967

Pulled By: javache

fbshipit-source-id: 27f50031f65f35dad46ad5ade7b52c7d350b31a2
  • Loading branch information
cmcewen authored and facebook-github-bot committed Apr 19, 2017
1 parent 6b0c72f commit 3122328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Modules/RCTDevMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ - (instancetype)init
object:nil];
_extraMenuItems = [NSMutableArray new];

#if TARGET_IPHONE_SIMULATOR
#if TARGET_OS_SIMULATOR
RCTKeyCommands *commands = [RCTKeyCommands sharedInstance];
__weak __typeof(self) weakSelf = self;

Expand Down

0 comments on commit 3122328

Please sign in to comment.