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

@@ -10,9 +10,6 @@ package com.facebook.react.testing;
import com.facebook.react.modules.debug.DeveloperSettings;
/**
* Default ReactSettings for tests.
*/
public class ReactSettingsForTests implements DeveloperSettings {
@Override
@@ -29,4 +26,9 @@ public class ReactSettingsForTests implements DeveloperSettings {
public boolean isJSDevModeEnabled() {
return true;
}
@Override
public boolean isElementInspectorEnabled() {
return false;
}
}