mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 12:19:52 +00:00
Fix crash when load Argon2id Databases.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
BOOL showTOTP = entry.hasTimeOTP;
|
||||
self.view.hidden = !showTOTP;
|
||||
if(showTOTP) {
|
||||
self.generator = [[KPKTimeOTPGenerator alloc] initWithEntry:entry];
|
||||
self.generator = [[KPKTimeOTPGenerator alloc] initWithAttributes:entry.attributes];
|
||||
self.generator.time = NSDate.date.timeIntervalSince1970;
|
||||
NSString *stringValue = self.generator.string;
|
||||
self.toptValueTextField.stringValue = stringValue ? stringValue : @"";
|
||||
|
||||
Reference in New Issue
Block a user