From da71a00be29b9414124a67f6e97cfcabe5a43519 Mon Sep 17 00:00:00 2001 From: b4n6-b4n6 Date: Mon, 3 Mar 2025 09:42:27 +0700 Subject: Remove unused JS variables --- wizard/WizardAskPassword.qml | 2 +- wizard/WizardRestoreWallet1.qml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'wizard') 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") { -- cgit v1.2.3