Bugfix for using cached status in Enter Amount screen.

This commit is contained in:
Brendon Duncan 2018-09-04 20:48:16 +12:00
commit 6c8a1cfd5a
2 changed files with 161 additions and 2 deletions

View file

@ -670,7 +670,7 @@ function amountController(configService, $filter, gettextCatalog, $ionicHistory,
availableFundsInFiat = '';
}
} else if (wallet.cachedStatus && wallet.status.isValid) {
} else if (wallet.cachedStatus && wallet.cachedStatus.isValid) {
if (wallet.cachedStatus.alternativeBalanceAvailable) {
availableFundsInFiat = wallet.cachedStatus.spendableBalanceAlternative + ' ' + wallet.cachedStatus.alternativeIsoCode;