From 5a3c6d7bfe71443bbd645930f70915faa742a167 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Wed, 23 Jul 2025 10:30:35 +0545 Subject: [PATCH] Always clear Hotkey 2 binding on removal --- VoiceInk/HotkeyManager.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VoiceInk/HotkeyManager.swift b/VoiceInk/HotkeyManager.swift index 88eb3a3..de47d48 100644 --- a/VoiceInk/HotkeyManager.swift +++ b/VoiceInk/HotkeyManager.swift @@ -18,6 +18,9 @@ class HotkeyManager: ObservableObject { } @Published var selectedHotkey2: HotkeyOption { didSet { + if selectedHotkey2 == .none { + KeyboardShortcuts.setShortcut(nil, for: .toggleMiniRecorder2) + } UserDefaults.standard.set(selectedHotkey2.rawValue, forKey: "selectedHotkey2") setupHotkeyMonitoring() }