no message
This commit is contained in:
1 parent
d59d446285
commit
9bd70ac9e0
1 file changed
+6
-1
@@ -145,7 +145,12 @@ static bool isFirstAccess = YES;
|
||||
@finally {
|
||||
|
||||
if ([_fileManager checkPath:className]) {
|
||||
return [NSKeyedUnarchiver unarchiveObjectWithData:[_fileManager fetchFileDataWithPath:className]];
|
||||
|
||||
NSError *error = nil;
|
||||
|
||||
NSData *data = [RNCryptor decryptData:[_fileManager fetchFileDataWithPath:className] password:[[PNObjectConfig sharedInstance] encrypKey] error:&error];
|
||||
|
||||
return [NSKeyedUnarchiver unarchiveObjectWithData:data];
|
||||
}
|
||||
else
|
||||
return nil;
|
||||
|
||||
Reference in new issue
Block a user