Skip to content

Commit

Permalink
Merge pull request #11595 from brave/nw_no_backup_imported
Browse files Browse the repository at this point in the history
[Android] hide backup banner when restored from seed
  • Loading branch information
wchen342 authored Dec 14, 2021
2 parents e4c2c36 + 476843f commit ccff4a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -539,4 +539,9 @@ public void gotoRestorePage() {
public void locked() {
setNavigationFragments(UNLOCK_WALLET_ACTION);
}

@Override
public void backedUp() {
findViewById(R.id.wallet_backup_banner).setVisibility(View.GONE);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ private void proceedWithAStrongPassword(
Utils.hideKeyboard(getActivity());
onNextPage.gotoNextPage(true);
Utils.setCryptoOnboarding(false);
keyringController.notifyWalletBackupComplete();
Utils.clearClipboard(recoveryPhraseText.getText().toString().trim(), 0);
Utils.clearClipboard(passwordInput, 0);
Utils.clearClipboard(retypePasswordInput, 0);
Expand Down

0 comments on commit ccff4a5

Please sign in to comment.