Skip to content

Commit

Permalink
macos: Take in automatic override of applicationSupportsSecureRestora…
Browse files Browse the repository at this point in the history
…bleState

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
  • Loading branch information
rajveermalviya committed Sep 19, 2024
1 parent ecc219e commit 415892a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions macos/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}

override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
return true
}
}

0 comments on commit 415892a

Please sign in to comment.