summaryrefslogtreecommitdiff
path: root/macos/Runner/AppDelegate.swift
diff options
context:
space:
mode:
authorMica White <botahamec@outlook.com>2025-12-08 20:12:09 -0500
committerMica White <botahamec@outlook.com>2025-12-08 20:12:09 -0500
commit7c8b5676fecffe5468810b703c579acb6a5fd256 (patch)
tree0c4ff107dfd012a4d03500f41f3607aff1d52616 /macos/Runner/AppDelegate.swift
First commit
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
-rwxr-xr-xmacos/Runner/AppDelegate.swift13
1 files changed, 13 insertions, 0 deletions
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift
new file mode 100755
index 0000000..c5c474d
--- /dev/null
+++ b/macos/Runner/AppDelegate.swift
@@ -0,0 +1,13 @@
+import Cocoa
+import FlutterMacOS
+
+@main
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+
+ override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
+ return true
+ }
+}