settings: fix references to alternativeIsoCode
This commit is contained in:
parent
09ec6f04bb
commit
a048f8eed5
1 changed files with 3 additions and 3 deletions
|
|
@ -195,9 +195,9 @@ angular.module('copayApp.services')
|
||||||
$rootScope.updatingBalance = false;
|
$rootScope.updatingBalance = false;
|
||||||
|
|
||||||
rateService.whenAvailable(function() {
|
rateService.whenAvailable(function() {
|
||||||
$rootScope.totalBalanceAlternative = rateService.toFiat(balanceSat, config.alternativeIsoCode);
|
$rootScope.totalBalanceAlternative = rateService.toFiat(balanceSat, w.settings.alternativeIsoCode);
|
||||||
$rootScope.alternativeIsoCode = config.alternativeIsoCode;
|
$rootScope.alternativeIsoCode = w.settings.alternativeIsoCode;
|
||||||
$rootScope.lockedBalanceAlternative = rateService.toFiat(balanceSat - safeBalanceSat, config.alternativeIsoCode);
|
$rootScope.lockedBalanceAlternative = rateService.toFiat(balanceSat - safeBalanceSat, w.settings.alternativeIsoCode);
|
||||||
|
|
||||||
|
|
||||||
return cb ? cb() : null;
|
return cb ? cb() : null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue