opt: disable shake to undo for ios

This commit is contained in:
bggRGjQaUbCoE
2024-09-02 21:47:00 +08:00
parent 94d5d60656
commit e6b61658c9

View File

@@ -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)
}
}