From e6b61658c92e51dfd4265dbe8a23a953d53204b7 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Mon, 2 Sep 2024 21:47:00 +0800 Subject: [PATCH] opt: disable shake to undo for ios --- ios/Runner/AppDelegate.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 70693e4a..8d96917c 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -8,6 +8,7 @@ import Flutter didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool { GeneratedPluginRegistrant.register(with: self) + application.applicationSupportsShakeToEdit = false // Disable shake to undo return super.application(application, didFinishLaunchingWithOptions: launchOptions) } }