allow inspector to show if not Systrace profiling
Reviewed By: gaearon Differential Revision: D5060716 fbshipit-source-id: 9a00f80be8ef28da37d7aa672a4c0805182c1582
This commit is contained in:
parent
65aaa9c045
commit
28c07f8698
|
@ -52,7 +52,7 @@ class AppContainer extends React.Component {
|
|||
|
||||
componentDidMount(): void {
|
||||
if (__DEV__) {
|
||||
if (global.__RCTProfileIsProfiling) {
|
||||
if (!global.__RCTProfileIsProfiling) {
|
||||
this._subscription = RCTDeviceEventEmitter.addListener(
|
||||
'toggleElementInspector',
|
||||
() => {
|
||||
|
|
Loading…
Reference in New Issue