From 6264e2459b0d0c31c26e1ec8fd8f1cf5d22cbd47 Mon Sep 17 00:00:00 2001 From: Serhii Bykov Date: Fri, 4 Sep 2026 16:46:47 +0200 Subject: [PATCH] feat(app): show settings when reopening Keyty --- Apps/Keyty/Sources/Keyty/App/Lifecycle/AppController.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Apps/Keyty/Sources/Keyty/App/Lifecycle/AppController.swift b/Apps/Keyty/Sources/Keyty/App/Lifecycle/AppController.swift index 0e9a3be0..a6f5a9aa 100644 --- a/Apps/Keyty/Sources/Keyty/App/Lifecycle/AppController.swift +++ b/Apps/Keyty/Sources/Keyty/App/Lifecycle/AppController.swift @@ -81,6 +81,11 @@ extension AppController: NSApplicationDelegate { self.dependencies.captureController.stopCapturing() } + + func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool { + self.showSettingsWindow(self) + return false + } } // MARK: - Settings Presentation