mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-02 14:54:58 +08:00
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:
committed by
facebook-github-bot-3
parent
d0de0767e3
commit
c74d6403f5
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user