Fix shortcuts.
This commit is contained in:
@ -18,12 +18,12 @@
|
|||||||
[binder
|
[binder
|
||||||
bindShortcutWithDefaultsKey: @"ToggleRunning"
|
bindShortcutWithDefaultsKey: @"ToggleRunning"
|
||||||
toAction:^{
|
toAction:^{
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"NOTIFY_TOGGLE_RUNNING" object: nil];
|
[[NSNotificationCenter defaultCenter] postNotificationName: @"NOTIFY_TOGGLE_RUNNING_SHORTCUT" object: nil];
|
||||||
}];
|
}];
|
||||||
[binder
|
[binder
|
||||||
bindShortcutWithDefaultsKey: @"SwitchProxyMode"
|
bindShortcutWithDefaultsKey: @"SwitchProxyMode"
|
||||||
toAction:^{
|
toAction:^{
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"NOTIFY_SWITCH_PROXY_MODE" object: nil];
|
[[NSNotificationCenter defaultCenter] postNotificationName: @"NOTIFY_SWITCH_PROXY_MODE_SHORTCUT" object: nil];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user