always USD on amazon and bpcard integrations amount views
This commit is contained in:
parent
94a18a9345
commit
e2e5175d9c
2 changed files with 4 additions and 2 deletions
|
|
@ -135,6 +135,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
$scope.displayUnit = getDisplayUnit($scope.amountStr);
|
||||
if ($scope.cardAmountUSD) {
|
||||
$scope.alternativeAmountStr = $filter('formatFiatAmount')($scope.cardAmountUSD) + ' USD';
|
||||
} else if ($scope.giftCardAmountUSD) {
|
||||
$scope.alternativeAmountStr = $filter('formatFiatAmount')($scope.giftCardAmountUSD) + ' USD';
|
||||
} else {
|
||||
txFormatService.formatAlternativeStr(toAmount, function(v) {
|
||||
$scope.alternativeAmountStr = v;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue