Currency in send max button now updates with currency change.
This commit is contained in:
parent
8908b5ef80
commit
b7dda8b6ca
1 changed files with 2 additions and 1 deletions
|
|
@ -620,7 +620,6 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
availableUnits[altUnitIndex].shortName = newAltCurrency.isoCode;
|
||||
fiatCode = newAltCurrency.isoCode;
|
||||
updateAvailableFundsStringIfNeeded();
|
||||
updateMaximumButtonIfNeeded();
|
||||
updateUnitUI();
|
||||
close();
|
||||
});
|
||||
|
|
@ -641,6 +640,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
}
|
||||
});
|
||||
}
|
||||
updateMaximumButtonIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -681,6 +681,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
|
|||
}
|
||||
|
||||
function updateMaximumButtonIfNeeded() {
|
||||
console.log('sendmax updateMaximumButtonIfNeeded()');
|
||||
if (vm.showSendMaxButton || vm.showSendLimitMaxButton) {
|
||||
transactionSendableAmount.fiat = '';
|
||||
vm.sendableFunds = transactionSendableAmount.crypto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue