mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-24 12:19:52 +00:00
OTP setup view controller gets show and parses url strings
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#import "MPTOTPViewController.h"
|
||||
|
||||
#import <KeePassKit/KeePassKit.h>
|
||||
#import "MPEntryInspectorViewController.h"
|
||||
|
||||
@interface MPTOTPViewController ()
|
||||
|
||||
@@ -22,6 +23,12 @@
|
||||
self.remainingTimeButton.title = @"";
|
||||
}
|
||||
|
||||
- (IBAction)showOTPSetup:(id)sender {
|
||||
MPEntryInspectorViewController *vs = (MPEntryInspectorViewController*)self.parentViewController;
|
||||
[vs showOTPSetup:sender];
|
||||
}
|
||||
|
||||
|
||||
- (void)setRepresentedObject:(id)representedObject {
|
||||
NSArray *notificationNames = @[KPKWillAddAttributeNotification, KPKDidAddAttributeNotification, KPKWillChangeAttributeNotification, KPKDidChangeAttributeNotification, KPKWillRemoveAttributeNotification, KPKDidRemoveAttributeNotification];
|
||||
if(self.representedObject) {
|
||||
|
||||
Reference in New Issue
Block a user