diff options
| author | b4n6-b4n6 <b4n6-b4n6@yogi.pro> | 2025-03-03 09:42:27 +0700 |
|---|---|---|
| committer | b4n6-b4n6 <b4n6-b4n6@yogi.pro> | 2025-03-03 09:45:44 +0700 |
| commit | da71a00be29b9414124a67f6e97cfcabe5a43519 (patch) | |
| tree | c9ba0526f27234ab836c220d3465d3edd5ebf07f | |
| parent | 08e2eafb7cfc18fc08f4b74885fa682001f12bca (diff) | |
| download | monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.gz monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.tar.xz monzero-gui-da71a00be29b9414124a67f6e97cfcabe5a43519.zip | |
Remove unused JS variables
| -rw-r--r-- | js/TxUtils.js | 1 | ||||
| -rw-r--r-- | pages/History.qml | 1 | ||||
| -rw-r--r-- | wizard/WizardAskPassword.qml | 2 | ||||
| -rw-r--r-- | wizard/WizardRestoreWallet1.qml | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/js/TxUtils.js b/js/TxUtils.js index 7b028b3e..110342e8 100644 --- a/js/TxUtils.js +++ b/js/TxUtils.js @@ -21,7 +21,6 @@ function addressTruncatePretty(address, blocks){ if(typeof(address) === "undefined") return ""; if(typeof(blocks) === "undefined") blocks = 2; blocks = blocks <= 1 ? 1 : blocks >= 23 ? 23 : blocks; - var ret = ""; return address.substring(0, 4 * blocks).match(/.{1,4}/g).join(' ') + " .. " + address.substring(address.length - 4 * blocks).match(/.{1,4}/g).join(' '); } diff --git a/pages/History.qml b/pages/History.qml index 0b907ae0..651a6d02 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -1447,7 +1447,6 @@ Rectangle { var txs = []; for (var i = 0; i < root.txData.length; i++){ var item = root.txData[i]; - var matched = ""; // daterange filtering if(item.timestamp < fromDate || item.timestamp > toDate){ 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") { |
