Skip to content

Commit 6989bf2

Browse files
committed
remove isShakeDetectorStarted check
1 parent 0bcfab4 commit 6989bf2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,11 @@ public abstract class DevSupportManagerBase(
135135
return
136136
}
137137

138-
if (isShakeDetectorStarted) {
139138
if (isShakeGestureEnabled) {
140139
startShakeDetector()
141140
} else {
142141
stopShakeDetector()
143142
}
144-
}
145143

146144
this.isShakeGestureEnabled = isShakeGestureEnabled
147145
}

0 commit comments

Comments
 (0)