aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorb4n6-b4n6 <b4n6-b4n6@yogi.pro>2025-03-03 09:42:27 +0700
committerb4n6-b4n6 <b4n6-b4n6@yogi.pro>2025-03-03 09:45:44 +0700
commitda71a00be29b9414124a67f6e97cfcabe5a43519 (patch)
treec9ba0526f27234ab836c220d3465d3edd5ebf07f /wizard
parent08e2eafb7cfc18fc08f4b74885fa682001f12bca (diff)
downloadmonzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.gz
monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.xz
monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.zip
Remove unused JS variables
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardAskPassword.qml2
-rw-r--r--wizard/WizardRestoreWallet1.qml1
2 files changed, 1 insertions, 2 deletions
diff --git a/wizard/WizardAskPassword.qml b/wizard/WizardAskPassword.qml
index 3c1f3144..ca9c94c3 100644
--- a/wizard/WizardAskPassword.qml
+++ b/wizard/WizardAskPassword.qml
@@ -47,7 +47,7 @@ ColumnLayout {
return passwordInput.text === passwordInputConfirm.text;
}
- function calcPasswordStrength(inp) {
+ function calcPasswordStrength() {
if(!progressLayout.visible) return;
if(passwordInput.text.length <= 1){
root.passwordFill = 0;
diff --git a/wizard/WizardRestoreWallet1.qml b/wizard/WizardRestoreWallet1.qml
index e4fde848..61818c3c 100644
--- a/wizard/WizardRestoreWallet1.qml
+++ b/wizard/WizardRestoreWallet1.qml
@@ -46,7 +46,6 @@ Rectangle {
return false;
}
- var valid = false;
if(wizardController.walletRestoreMode === "keys") {
return wizardWalletInput.verify() && wizardRestoreWallet1.verifyFromKeys();
} else if(wizardController.walletRestoreMode === "seed") {