From 7c8b5676fecffe5468810b703c579acb6a5fd256 Mon Sep 17 00:00:00 2001 From: Mica White Date: Mon, 8 Dec 2025 20:12:09 -0500 Subject: First commit --- macos/Runner/AppDelegate.swift | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 macos/Runner/AppDelegate.swift (limited to 'macos/Runner/AppDelegate.swift') 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 + } +} -- cgit v1.2.3