mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 12:24:01 +02:00
always reset when asked
This commit is contained in:
parent
432e647f7a
commit
34253082d4
2 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue