-
Notifications
You must be signed in to change notification settings - Fork 739
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
Fixes crash when entering non ascii username during account creation #6736
Conversation
SonarCloud Quality Gate failed. |
) | ||
} | ||
} | ||
runCatching { registrationWizard.registrationAvailable(userName) }.fold( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding the runCatching
is the fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one weird behaviour when trying to go back:
emoji_back.webm
It seems like checkUserNameAvailability
is getting called on that case too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the issue above was fixed in #6741. After rebasing develop and testing again, it's working fine.
(We've spoke in the room) The backflow is handled by #6741 this PR is slightly behind develop |
Type of change
Content
Motivation and context
Fixes #6735
To avoid a crash when non ascii characters are used in the username during account creation
Screenshots / GIFs
Tests
Tested devices