summaryrefslogtreecommitdiff
path: root/macos/Runner/AppDelegate.swift
diff options
context:
space:
mode:
authorConnor Frank <conjfrnk@gmail.com>2024-04-01 17:43:00 -0400
committerConnor Frank <conjfrnk@gmail.com>2024-04-01 17:43:00 -0400
commit4c5ba92b066560e9de76ac14a491d789453617d8 (patch)
tree66f25c022c195ae5a19149c6e924397f360cc608 /macos/Runner/AppDelegate.swift
Initial Commit
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
-rw-r--r--macos/Runner/AppDelegate.swift9
1 files changed, 9 insertions, 0 deletions
diff --git a/macos/Runner/AppDelegate.swift b/macos/Runner/AppDelegate.swift
new file mode 100644
index 0000000..d53ef64
--- /dev/null
+++ b/macos/Runner/AppDelegate.swift
@@ -0,0 +1,9 @@
+import Cocoa
+import FlutterMacOS
+
+@NSApplicationMain
+class AppDelegate: FlutterAppDelegate {
+ override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
+ return true
+ }
+}