修复编译警告
This commit is contained in:
parent
135d60aaa6
commit
885cd752ed
@ -42,6 +42,11 @@ class AppDelegate: FlutterAppDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
// 支持安全的状态恢复
|
||||
override func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// // window manager restore from dock: https://leanflutter.dev/blog/click-dock-icon-to-restore-after-closing-the-window
|
||||
// override func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
|
||||
// if !flag {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user