diff --git a/Window/MainWindow.m b/Window/MainWindow.m index 799e7ccd6..4562e9ebf 100644 --- a/Window/MainWindow.m +++ b/Window/MainWindow.m @@ -31,19 +31,6 @@ void showCrashlyticsConsent(NSWindow *window) { } } -void showFolderPermissionConsent(NSWindow *window) { - if([AppController globalPathSuggesterEmpty]) { - NSAlert *alert = [[NSAlert alloc] init]; - [alert setMessageText:NSLocalizedString(@"FolderConsentTitle", @"")]; - [alert setInformativeText:NSLocalizedString(@"FolderConsentText", @"")]; - [alert addButtonWithTitle:NSLocalizedString(@"ConsentOK", @"")]; - - [alert beginSheetModalForWindow:window completionHandler:^(NSModalResponse returnCode) { - [AppController globalShowPathSuggester]; - }]; - } -} - @implementation MainWindow - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation { @@ -66,7 +53,6 @@ void showFolderPermissionConsent(NSWindow *window) { if(![[NSUserDefaults standardUserDefaults] boolForKey:@"miniMode"]) { showCrashlyticsConsent(self); - showFolderPermissionConsent(self); } } diff --git a/Window/MiniWindow.m b/Window/MiniWindow.m index 4d28e5239..d596e91f3 100644 --- a/Window/MiniWindow.m +++ b/Window/MiniWindow.m @@ -13,7 +13,6 @@ extern NSString *iTunesDropType; extern void showCrashlyticsConsent(NSWindow *window); -extern void showFolderPermissionConsent(NSWindow *window); @implementation MiniWindow @@ -46,7 +45,6 @@ extern void showFolderPermissionConsent(NSWindow *window); if([[NSUserDefaults standardUserDefaults] boolForKey:@"miniMode"]) { showCrashlyticsConsent(self); - showFolderPermissionConsent(self); } } diff --git a/en.lproj/Localizable.strings b/en.lproj/Localizable.strings index 473af7f07..f833d21df 100644 --- a/en.lproj/Localizable.strings +++ b/en.lproj/Localizable.strings @@ -77,8 +77,5 @@ "CrashlyticsConsentTitle" = "Crashlytics crash collection"; "CrashlyticsConsentText" = "Would you like to allow Crashlytics to submit crash reports? You may turn this off again in Preferences. We won't ask you again."; -"FolderConsentTitle" = "Folder permission"; -"FolderConsentText" = "You have not added any folder to the permission dialog. Please add your music folders before adding any documents, then restart the player."; "ConsentYes" = "Yes"; "ConsentNo" = "No"; -"ConsentOK" = "OK"; diff --git a/es.lproj/Localizable.strings b/es.lproj/Localizable.strings index 473af7f07..f833d21df 100644 --- a/es.lproj/Localizable.strings +++ b/es.lproj/Localizable.strings @@ -77,8 +77,5 @@ "CrashlyticsConsentTitle" = "Crashlytics crash collection"; "CrashlyticsConsentText" = "Would you like to allow Crashlytics to submit crash reports? You may turn this off again in Preferences. We won't ask you again."; -"FolderConsentTitle" = "Folder permission"; -"FolderConsentText" = "You have not added any folder to the permission dialog. Please add your music folders before adding any documents, then restart the player."; "ConsentYes" = "Yes"; "ConsentNo" = "No"; -"ConsentOK" = "OK";