From 7bc06a5997d59205e09d074331517329026f9ccb Mon Sep 17 00:00:00 2001 From: michael starke Date: Tue, 25 Apr 2017 20:05:15 +0200 Subject: [PATCH] properites --- MacPass/MPDocument.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index 2968cf8d..76bb0f75 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -765,7 +765,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou } - (void)_storeKeyURL:(NSURL *)keyURL { - NSMutableDictionary *keysForFiles = [[[NSUserDefaults standardUserDefaults] dictionaryForKey:kMPSettingsKeyRememeberdKeysForDatabases] mutableCopy]; + NSMutableDictionary *keysForFiles = [[NSUserDefaults.standardUserDefaults dictionaryForKey:kMPSettingsKeyRememeberdKeysForDatabases] mutableCopy]; MPAppDelegate *delegate = (MPAppDelegate *)[NSApp delegate]; if(!delegate.isAllowedToStoreKeyFile || nil == keyURL) { /* user has removed the keyfile or we should not safe it so remove it */