mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 01:12:31 +00:00
properites
This commit is contained in:
@@ -765,7 +765,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)_storeKeyURL:(NSURL *)keyURL {
|
- (void)_storeKeyURL:(NSURL *)keyURL {
|
||||||
NSMutableDictionary *keysForFiles = [[[NSUserDefaults standardUserDefaults] dictionaryForKey:kMPSettingsKeyRememeberdKeysForDatabases] mutableCopy];
|
NSMutableDictionary *keysForFiles = [[NSUserDefaults.standardUserDefaults dictionaryForKey:kMPSettingsKeyRememeberdKeysForDatabases] mutableCopy];
|
||||||
MPAppDelegate *delegate = (MPAppDelegate *)[NSApp delegate];
|
MPAppDelegate *delegate = (MPAppDelegate *)[NSApp delegate];
|
||||||
if(!delegate.isAllowedToStoreKeyFile || nil == keyURL) {
|
if(!delegate.isAllowedToStoreKeyFile || nil == keyURL) {
|
||||||
/* user has removed the keyfile or we should not safe it so remove it */
|
/* user has removed the keyfile or we should not safe it so remove it */
|
||||||
|
|||||||
Reference in New Issue
Block a user