diff options
Diffstat (limited to 'Demo/AppDelegate.m')
| -rw-r--r-- | Demo/AppDelegate.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Demo/AppDelegate.m b/Demo/AppDelegate.m index d2c07ba..81b2661 100644 --- a/Demo/AppDelegate.m +++ b/Demo/AppDelegate.m @@ -16,8 +16,7 @@ NSString *const MASPreferenceKeyConstantShortcutEnabled = @"MASDemoConstantShort [super awakeFromNib]; _shortcutBinder = [[MASShortcutBinder alloc] init]; - _shortcutMonitor = [[MASShortcutMonitor alloc] init]; - [_shortcutBinder setShortcutMonitor:_shortcutMonitor]; + _shortcutMonitor = [MASShortcutMonitor sharedMonitor]; // Checkbox will enable and disable the shortcut view [self.shortcutView bind:@"enabled" toObject:self withKeyPath:@"shortcutEnabled" options:nil]; |
