summaryrefslogtreecommitdiff
path: root/macos/Runner/AppDelegate.swift
diff options
context:
space:
mode:
authorBoredGuy <osome3717@gmail.com>2026-05-09 19:59:04 -0700
committerBoredGuy <osome3717@gmail.com>2026-05-09 19:59:04 -0700
commit67427aec40ba094f1e7f3ee77eab09df73d752f1 (patch)
treeb1cbaff8f809f5b003977279b93a6bae262e5b0b /macos/Runner/AppDelegate.swift
Initial CommitHEADmaster
Diffstat (limited to 'macos/Runner/AppDelegate.swift')
-rw-r--r--macos/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 100644
index 0000000..b3c1761
--- /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
+ }
+}