mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Implement show msisdn screen flow
This commit is contained in:
parent
814593e8d9
commit
1564c74df0
1 changed files with 13 additions and 1 deletions
|
@ -285,7 +285,19 @@ final class AuthenticationCoordinator: NSObject, AuthenticationCoordinatorProtoc
|
|||
/// Shows the verify email screen.
|
||||
@MainActor private func showVerifyMSISDNScreen(registrationWizard: RegistrationWizard) {
|
||||
MXLog.debug("[AuthenticationCoordinator] showVerifyMSISDNScreen")
|
||||
fatalError("Phone verification not implemented yet.")
|
||||
|
||||
let parameters = AuthenticationVerifyMsisdnCoordinatorParameters(registrationWizard: registrationWizard)
|
||||
let coordinator = AuthenticationVerifyMsisdnCoordinator(parameters: parameters)
|
||||
coordinator.callback = { [weak self] result in
|
||||
self?.registrationStageDidComplete(with: result)
|
||||
}
|
||||
|
||||
coordinator.start()
|
||||
add(childCoordinator: coordinator)
|
||||
|
||||
navigationRouter.setRootModule(coordinator, hideNavigationBar: false, animated: true) { [weak self] in
|
||||
self?.remove(childCoordinator: coordinator)
|
||||
}
|
||||
}
|
||||
|
||||
/// Displays the next view in the registration flow.
|
||||
|
|
Loading…
Reference in a new issue