Skip to content

Commit

Permalink
feat: Upload SeedPhrase - check if (!mounted)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalheartxs committed Oct 21, 2024
1 parent 52babdc commit 0f0631f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ class _SeedPhraseInputPanelState extends State<SeedPhraseInputPanel> {
words: words,
);

if (isValid) {
if (!mounted) {
return;
} else if (isValid) {
_controller.words = words;
} else {
if (!mounted) return;

final showUpload = await IncorrectSeedPhraseDialog.show(context);
if (showUpload) {
await _showUploadDialog();
Expand Down

0 comments on commit 0f0631f

Please sign in to comment.