Explicitly opt-in to restorable state

This commit is contained in:
SoCuul 2026-04-02 00:45:18 -07:00
parent d8db4460d0
commit bf8e21136b
No known key found for this signature in database

View file

@ -140,6 +140,10 @@ static NSInteger kKCPrefDisplayIconInDock = 0x02;
[eventTap removeTap];
}
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
return YES;
}
- (SRShortcut *)toggleCastingShortcut {
if (_toggleCastingShortcut == nil) {
KeyCombo toggleShortcutKey;