Skip to content

Commit 6cf0285

Browse files
authored
remove shaking phone as trigger for presentDebugMenu (#2149)
1 parent d5065b2 commit 6cf0285

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Loop/View Controllers/StatusTableViewController.swift

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1865,15 +1865,6 @@ final class StatusTableViewController: LoopChartsTableViewController {
18651865
lastOrientation = UIDevice.current.orientation
18661866
}
18671867

1868-
override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
1869-
guard FeatureFlags.allowDebugFeatures else {
1870-
return
1871-
}
1872-
if motion == .motionShake {
1873-
presentDebugMenu()
1874-
}
1875-
}
1876-
18771868
private func presentDebugMenu() {
18781869
guard FeatureFlags.allowDebugFeatures else {
18791870
return

0 commit comments

Comments
 (0)