mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:29:03 +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) {
|
proceedFunction: function (isReset) {
|
||||||
console.log(isReset ? "Reset wallet." : "Trying again with new wallet.");
|
console.log(isReset ? "Reset wallet." : "Trying again with new wallet.");
|
||||||
if (isReset) {
|
if (isReset) {
|
||||||
|
walletSetup();
|
||||||
} else {
|
} else {
|
||||||
root.activeView = "initialize";
|
root.activeView = "initialize";
|
||||||
Commerce.getWalletStatus();
|
Commerce.getWalletStatus();
|
||||||
|
|
|
@ -197,7 +197,6 @@ Item {
|
||||||
"CREATE NEW WALLET" :
|
"CREATE NEW WALLET" :
|
||||||
"CONTINUE WITH THESE KEYS"
|
"CONTINUE WITH THESE KEYS"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (root.activeView === "preexisting") {
|
|
||||||
lightboxPopup.titleText = "Are you sure?";
|
lightboxPopup.titleText = "Are you sure?";
|
||||||
lightboxPopup.bodyText = "Taking this step will abandon your old wallet and you will no " +
|
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>" +
|
"longer be able to access your money and your past purchases.<br><br>" +
|
||||||
|
@ -208,9 +207,7 @@ Item {
|
||||||
lightboxPopup.button2text = "CLOSE";
|
lightboxPopup.button2text = "CLOSE";
|
||||||
lightboxPopup.button2method = "root.visible = false;"
|
lightboxPopup.button2method = "root.visible = false;"
|
||||||
lightboxPopup.visible = true;
|
lightboxPopup.visible = true;
|
||||||
} else {
|
|
||||||
console.log('FIXME');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue