allow inspector to show if not Systrace profiling

Reviewed By: gaearon

Differential Revision: D5060716

fbshipit-source-id: 9a00f80be8ef28da37d7aa672a4c0805182c1582
This commit is contained in:
Aaron Chiu 2017-05-15 05:12:48 -07:00 committed by Facebook Github Bot
parent 65aaa9c045
commit 28c07f8698
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class AppContainer extends React.Component {
componentDidMount(): void {
if (__DEV__) {
if (global.__RCTProfileIsProfiling) {
if (!global.__RCTProfileIsProfiling) {
this._subscription = RCTDeviceEventEmitter.addListener(
'toggleElementInspector',
() => {