Skip to content

Commit ebac39f

Browse files
rajveermalviyagnprice
authored andcommitted
macos: Take in automatic override of applicationSupportsSecureRestorableState
This change was made automatically by `flutter run`, along with the following warning: macos/Runner/AppDelegate.swift does not override applicationSupportsSecureRestorableState. Updating. See upstream commit that introduced this override: flutter/flutter@68f375f
1 parent cdbe141 commit ebac39f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true
88
}
9+
10+
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
11+
return true
12+
}
913
}

0 commit comments

Comments
 (0)