Permalink
Browse files

Hide vs. Show --> Toggle Inspector

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 a946f86039896920537371405ec9b23f1177fb47
Showing with 1 addition and 1 deletion.
  1. +1 −1 React/DevSupport/RCTDevMenu.m
@@ -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];
}]];

0 comments on commit a946f86

Please sign in to comment.