Fix Amazon integration: details shows always in USD

This commit is contained in:
Gustavo Maximiliano Cortez 2017-07-26 18:19:16 -03:00
commit 4189293114
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -217,7 +217,7 @@ angular.module('copayApp.controllers').controller('buyAmazonController', functio
var initialize = function(wallet) {
var parsedAmount = txFormatService.parseAmount(amount, currency);
$scope.currencyIsoCode = parsedAmount.alternativeIsoCode;
$scope.currencyIsoCode = parsedAmount.currency;
$scope.amountUnitStr = parsedAmount.amountUnitStr;
var dataSrc = {
amount: parsedAmount.amount,