mirror of
https://github.com/keycastr/keycastr.git
synced 2026-05-15 14:15:50 -06:00
Explicitly opt-in to restorable state
This commit is contained in:
parent
d8db4460d0
commit
bf8e21136b
1 changed files with 4 additions and 0 deletions
|
|
@ -140,6 +140,10 @@ static NSInteger kKCPrefDisplayIconInDock = 0x02;
|
|||
[eventTap removeTap];
|
||||
}
|
||||
|
||||
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app {
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (SRShortcut *)toggleCastingShortcut {
|
||||
if (_toggleCastingShortcut == nil) {
|
||||
KeyCombo toggleShortcutKey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue