Merge pull request

da71a00b Remove unused JS variables (b4n6-b4n6)
This commit is contained in:
tobtoht 2025-04-06 09:39:39 +00:00
commit ecb76b8414
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
4 changed files with 1 additions and 4 deletions

View file

@ -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(' ');
}

View file

@ -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){

View file

@ -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;

View file

@ -46,7 +46,6 @@ Rectangle {
return false;
}
var valid = false;
if(wizardController.walletRestoreMode === "keys") {
return wizardWalletInput.verify() && wizardRestoreWallet1.verifyFromKeys();
} else if(wizardController.walletRestoreMode === "seed") {