From 2a5990aa5b81bb6fb06b5fea0e6b472113a5f9e4 Mon Sep 17 00:00:00 2001 From: Damiano galassi Date: Sat, 13 Aug 2022 08:57:44 +0200 Subject: [PATCH] Support the secure restorable state. --- Classes/AppDelegate.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Classes/AppDelegate.swift b/Classes/AppDelegate.swift index 3153689..677848e 100644 --- a/Classes/AppDelegate.swift +++ b/Classes/AppDelegate.swift @@ -170,6 +170,10 @@ final class AppDelegate: NSObject, NSApplicationDelegate { // MARK: delegates + func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { + return true + } + func applicationWillFinishLaunching(_ notification: Notification) { Prefs.register() MetadataPrefs.register()