From cd33c5462e36c8829394b4a91a73e37e919b1525 Mon Sep 17 00:00:00 2001 From: Daniel Jalkut Date: Mon, 5 May 2025 11:55:56 -0400 Subject: [PATCH] Quiet a console warning from the system about not opting in to applicationSupportsSecureRestorableState. I think because the app doesn't do anything special to customize state restoration, it's safe to do this. --- MacSymbolicator/Controllers/AppDelegate.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MacSymbolicator/Controllers/AppDelegate.swift b/MacSymbolicator/Controllers/AppDelegate.swift index 96b9bee..bf1b037 100644 --- a/MacSymbolicator/Controllers/AppDelegate.swift +++ b/MacSymbolicator/Controllers/AppDelegate.swift @@ -32,4 +32,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { } return true } + + func applicationSupportsSecureRestorableState(_ app: NSApplication) -> Bool { + return true + } + }