Remove settings preview page

This commit is contained in:
jahruz67
2026-07-14 17:01:58 -07:00
parent eea198d882
commit 1e9862ffa1
13 changed files with 73 additions and 694 deletions
+3 -4
View File
@@ -5,16 +5,15 @@ package hotkey
import "errors"
func (hk *Hotkey) register() error {
return hk.registerPortal()
return errors.New("Linux in-app global hotkeys are disabled; use the desktop custom-shortcut command shown in Settings")
}
func (hk *Hotkey) unregister() error {
hk.mu.Lock()
defer hk.mu.Unlock()
if !hk.registered {
hk.mu.Unlock()
return errors.New("hotkey is not registered.")
}
hk.registered = false
hk.mu.Unlock()
return hk.cleanupPortal()
return nil
}