From 6cf0285e13f6523339b6a4758558cd66d0153c2e Mon Sep 17 00:00:00 2001 From: Marion Barker Date: Tue, 23 Apr 2024 19:58:32 -0700 Subject: [PATCH] remove shaking phone as trigger for presentDebugMenu (#2149) --- Loop/View Controllers/StatusTableViewController.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Loop/View Controllers/StatusTableViewController.swift b/Loop/View Controllers/StatusTableViewController.swift index 8906a75986..6a4aadfcdd 100644 --- a/Loop/View Controllers/StatusTableViewController.swift +++ b/Loop/View Controllers/StatusTableViewController.swift @@ -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