Skip to content

Commit

Permalink
Notify KeyringController for backedup on restore; Hide backup banner …
Browse files Browse the repository at this point in the history
…when observer received backedup
  • Loading branch information
wchen342 committed Dec 14, 2021
1 parent 524c0b5 commit 476843f
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 476843f

Please sign in to comment.