C1.source/privatevoice.src/services/hotkey_service.go
@@ -27,6 +27,9 @@ // GetHotkeyName returns the display name for the current hotkey. func (s *HotkeyService) GetHotkeyName() string { if config.IsHotkeyUnset(s.cfg.HotkeyVK) { return "" } return hotkey.GetKeyName(s.cfg.HotkeyVK) } @@ -55,5 +58,8 @@ // GetKeyName returns the display name for a given VK code. func (s *HotkeyService) GetKeyName(vk int) string { if config.IsHotkeyUnset(vk) { return "" } return hotkey.GetKeyName(vk) }