Merge pull request #418 from gabrielbazan7/fix/rateOnboarding
add scope apply to onboarding rate values
This commit is contained in:
commit
67d9ec751e
1 changed files with 4 additions and 1 deletions
|
|
@ -34,6 +34,9 @@ angular.module('copayApp.controllers').controller('tourController',
|
|||
var rate = rateService.toFiat(btcAmount * 1e8, localCurrency);
|
||||
$scope.localCurrencySymbol = '$';
|
||||
$scope.localCurrencyPerBtc = $filter('formatFiatAmount')(parseFloat(rate.toFixed(2), 10));
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue