Skip to content

Commit

Permalink
remove shaking phone as trigger for presentDebugMenu (#2149)
Browse files Browse the repository at this point in the history
  • Loading branch information
marionbarker authored Apr 24, 2024
1 parent d5065b2 commit 6cf0285
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Loop/View Controllers/StatusTableViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1865,15 +1865,6 @@ final class StatusTableViewController: LoopChartsTableViewController {
lastOrientation = UIDevice.current.orientation
}

override func motionEnded(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
guard FeatureFlags.allowDebugFeatures else {
return
}
if motion == .motionShake {
presentDebugMenu()
}
}

private func presentDebugMenu() {
guard FeatureFlags.allowDebugFeatures else {
return
Expand Down

0 comments on commit 6cf0285

Please sign in to comment.