From 62c4e7122735e93544154b04aa5bea5596c24e73 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Thu, 20 Jun 2019 21:04:19 -0700 Subject: [PATCH] Remove Media Keys warning dialog, let user discover why their global hotkeys aren't working on their own if they aren't the type to complain about features that have been in since the beginning. --- Application/MediaKeysApplication.m | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Application/MediaKeysApplication.m b/Application/MediaKeysApplication.m index 303146c89..03ef8ff9a 100644 --- a/Application/MediaKeysApplication.m +++ b/Application/MediaKeysApplication.m @@ -33,15 +33,7 @@ keyTap = [[SPMediaKeyTap alloc] initWithDelegate:self]; if([SPMediaKeyTap usesGlobalMediaKeyTap]) { - if (![keyTap startWatchingMediaKeys]) { - NSAlert *alert = [[NSAlert alloc] init]; - [alert addButtonWithTitle:@"OK"]; - [alert setMessageText:@"Enable Media Key access?"]; - [alert setInformativeText:@"Media Key support requires the \"Accessibility\" permission. You will need to restart the application for the change to take effect."]; - [alert setAlertStyle:NSInformationalAlertStyle]; - [alert runModal]; - ALog(@"Media key monitoring disabled until application is restarted"); - } + [keyTap startWatchingMediaKeys]; } else ALog(@"Media key monitoring disabled");