Update dev menu to keep track of element inspector.

Summary:
This PR makes the android dev menu consistent with iOS where toggling the inspector will update the button label accordingly.
Closes https://github.com/facebook/react-native/pull/4628

Reviewed By: svcscm

Differential Revision: D2740549

Pulled By: mkonicek

fb-gh-sync-id: 02458d09b84e1592dcf245290ee2bbfb2863060d
This commit is contained in:
Christopher Dro
2015-12-22 15:09:27 -08:00
committed by facebook-github-bot-3
parent d0de0767e3
commit c74d6403f5
35 changed files with 55 additions and 35 deletions

View File

@@ -28,4 +28,9 @@ public interface DeveloperSettings {
* @return Whether dev mode should be enabled in JS bundles.
*/
boolean isJSDevModeEnabled();
/**
* @return Whether element inspector is enabled.
*/
boolean isElementInspectorEnabled();
}