always reset when asked

This commit is contained in:
howard-stearns 2018-02-23 15:11:08 -08:00
parent 432e647f7a
commit 34253082d4
2 changed files with 2 additions and 4 deletions

View file

@ -177,6 +177,7 @@ Rectangle {
proceedFunction: function (isReset) {
console.log(isReset ? "Reset wallet." : "Trying again with new wallet.");
if (isReset) {
walletSetup();
} else {
root.activeView = "initialize";
Commerce.getWalletStatus();

View file

@ -197,7 +197,6 @@ Item {
"CREATE NEW WALLET" :
"CONTINUE WITH THESE KEYS"
onClicked: {
if (root.activeView === "preexisting") {
lightboxPopup.titleText = "Are you sure?";
lightboxPopup.bodyText = "Taking this step will abandon your old wallet and you will no " +
"longer be able to access your money and your past purchases.<br><br>" +
@ -208,9 +207,7 @@ Item {
lightboxPopup.button2text = "CLOSE";
lightboxPopup.button2method = "root.visible = false;"
lightboxPopup.visible = true;
} else {
console.log('FIXME');
}
}
}