|
|
@ -281,7 +281,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
[self startActivityIndicator];
|
|
|
|
[self startActivityIndicator];
|
|
|
|
OWSProdInfo([OWSAnalyticsEvents registrationRegisteringCode]);
|
|
|
|
OWSProdInfo([OWSAnalyticsEvents registrationRegisteringCode]);
|
|
|
|
__weak CodeVerificationViewController *weakSelf = self;
|
|
|
|
__weak CodeVerificationViewController *weakSelf = self;
|
|
|
|
[self.accountManager registerWithVerificationCode:[self validationCodeFromTextField] pin:nil]
|
|
|
|
[[self.accountManager registerWithVerificationCode:[self validationCodeFromTextField] pin:nil]
|
|
|
|
.then(^{
|
|
|
|
.then(^{
|
|
|
|
OWSProdInfo([OWSAnalyticsEvents registrationRegisteringSubmittedCode]);
|
|
|
|
OWSProdInfo([OWSAnalyticsEvents registrationRegisteringSubmittedCode]);
|
|
|
|
|
|
|
|
|
|
|
@ -313,7 +313,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
[weakSelf.challengeTextField becomeFirstResponder];
|
|
|
|
[weakSelf.challengeTextField becomeFirstResponder];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}) retainUntilComplete];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (void)verificationWasCompleted
|
|
|
|
- (void)verificationWasCompleted
|
|
|
|