Skip to content

Redesign: Add Friendly Recovery Phrase Error Messages (NMA-284) - #283

Merged
HashEngineering merged 4 commits into
redesignfrom
redesign-recovery-phrase-errors
Dec 30, 2019
Merged

HashEngineering merged 4 commits into
redesignfrom
redesign-recovery-phrase-errors

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Dec 18, 2019 •

Copy link
Copy Markdown
Collaborator

Instead of having an error message that includes words like "MnemonicException" and "Bad password" when a user enters a recovery phrase that has errors, this PR will use the same error messages as the iOS app, which include "Bad recovery phrase", "%s is not a valid recovery phrase word" and "Recovery phrase must be 12 words"

Additional changes include converting the RestoreWalletFromSeedActivity class to be more similar to the OnboardingActivity, which includes similar view model. Some methods were removed from the OnboardingViewModel and placed in the RestoreWalletFromSeedViewModel.

@tomasz-ludek tomasz-ludek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good!

@HashEngineering
HashEngineering merged commit 00fae67 into redesign Dec 30, 2019
@HashEngineering
HashEngineering deleted the redesign-recovery-phrase-errors branch March 17, 2020 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants