Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication: Verify MSISDN screen #6205

Merged
merged 12 commits into from
May 26, 2022

Conversation

ismailgulek
Copy link
Contributor

Resolves #6182

@github-actions
Copy link

github-actions bot commented May 25, 2022

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/uDgToZ

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ismail, looks great to me! Its amazing to have someone else working on FTUE in parallel 😁

I've added some comments inline.

@ismailgulek ismailgulek marked this pull request as ready for review May 26, 2022 11:50
Comment on lines +211 to +216
switch error {
case RegistrationError.invalidPhoneNumber:
authenticationVerifyMsisdnViewModel.displayError(.invalidPhoneNumber)
default:
authenticationVerifyMsisdnViewModel.displayError(.unknown)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason I'd never twigged you can simply switch on an error like this without doing an as? RegistrationError 🤩

Copy link
Member

@pixlwave pixlwave left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! LGTM 🙇‍♂️

@ismailgulek ismailgulek merged commit 7098a9b into develop May 26, 2022
@ismailgulek ismailgulek deleted the ismail/6182_auth_msisdn_screen branch May 26, 2022 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Authentication: Add MSISDN screen
2 participants