We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 441a2cc commit 152f6b5Copy full SHA for 152f6b5
tests/macos/Runner/AppDelegate.swift
@@ -1,9 +1,13 @@
1
import Cocoa
2
import FlutterMacOS
3
4
-@NSApplicationMain
+@main
5
class AppDelegate: FlutterAppDelegate {
6
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
7
return true
8
}
9
+
10
+ override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11
+ return true
12
+ }
13
0 commit comments