From ce6607a8c78c20e8b258224eaa0752137f3efeb7 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Sat, 3 Jan 2026 11:02:43 +0545 Subject: [PATCH] Remove redundant KeyboardShortcuts.disable() call --- VoiceInk/HotkeyManager.swift | 2 +- VoiceInk/PowerMode/PowerModeShortcutManager.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/VoiceInk/HotkeyManager.swift b/VoiceInk/HotkeyManager.swift index 93e1a92..3654f24 100644 --- a/VoiceInk/HotkeyManager.swift +++ b/VoiceInk/HotkeyManager.swift @@ -426,4 +426,4 @@ class HotkeyManager: ObservableObject { removeAllMonitoring() } } -} \ No newline at end of file +} diff --git a/VoiceInk/PowerMode/PowerModeShortcutManager.swift b/VoiceInk/PowerMode/PowerModeShortcutManager.swift index 1037347..44fa967 100644 --- a/VoiceInk/PowerMode/PowerModeShortcutManager.swift +++ b/VoiceInk/PowerMode/PowerModeShortcutManager.swift @@ -38,7 +38,6 @@ class PowerModeShortcutManager { let idsToRemove = registeredPowerModeIds.subtracting(powerModesWithShortcuts) idsToRemove.forEach { id in KeyboardShortcuts.setShortcut(nil, for: .powerMode(id: id)) - KeyboardShortcuts.disable(.powerMode(id: id)) registeredPowerModeIds.remove(id) }