File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ - (void)startCardEntryFlow:(FlutterResult)result collectPostalCode:(BOOL)collect
58
58
cardEntryForm.collectPostalCode = collectPostalCode;
59
59
cardEntryForm.delegate = self;
60
60
self.cardEntryViewController = cardEntryForm;
61
+ self.contact = nil ;
61
62
62
63
UIViewController *rootViewController = UIApplication.sharedApplication .keyWindow .rootViewController ;
63
64
if ([rootViewController isKindOfClass: [UINavigationController class ]]) {
@@ -98,6 +99,7 @@ - (void)startGiftCardEntryFlow:(FlutterResult)result
98
99
SQIPCardEntryViewController *cardEntryForm = [self _makeGiftCardEntryForm ];
99
100
cardEntryForm.delegate = self;
100
101
self.cardEntryViewController = cardEntryForm;
102
+ self.contact = nil ;
101
103
102
104
UIViewController *rootViewController = UIApplication.sharedApplication .keyWindow .rootViewController ;
103
105
if ([rootViewController isKindOfClass: [UINavigationController class ]]) {
@@ -108,6 +110,9 @@ - (void)startGiftCardEntryFlow:(FlutterResult)result
108
110
}
109
111
result (nil );
110
112
}
113
+
114
+ #pragma mark - SQIPCardEntryViewControllerDelegate
115
+
111
116
- (void )cardEntryViewController : (SQIPCardEntryViewController *)cardEntryViewController didObtainCardDetails : (SQIPCardDetails *)cardDetails completionHandler : (CompletionHandler)completionHandler
112
117
{
113
118
if (self.contact ) {
You can’t perform that action at this time.
0 commit comments