Skip to content

Commit

Permalink
Hide vs. Show --> Toggle Inspector
Browse files Browse the repository at this point in the history
Reviewed By: javache

Differential Revision: D5470663

fbshipit-source-id: e2b3ac013d0c97d02acc619bb72543d3d1a82218
  • Loading branch information
sahrens authored and facebook-github-bot committed Jul 21, 2017
1 parent 4caf794 commit a946f86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/DevSupport/RCTDevMenu.m
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ - (void)addItem:(RCTDevMenuItem *)item
}

[items addObject:[RCTDevMenuItem buttonItemWithTitleBlock:^NSString *{
return (devSettings.isElementInspectorShown) ? @"Hide Inspector" : @"Show Inspector";
return @"Toggle Inspector";
} handler:^{
[devSettings toggleElementInspector];
}]];
Expand Down

0 comments on commit a946f86

Please sign in to comment.