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() }