Always clear Hotkey 2 binding on removal
This commit is contained in:
parent
f27de6ab3a
commit
5a3c6d7bfe
@ -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()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user