Merge pull request #5636 from cmgustavo/bug/alternative-iso-code-01

Fix alternativeIsoCode
This commit is contained in:
Gabriel Edgardo Bazán 2017-02-20 15:16:28 -05:00 committed by GitHub
commit aeba1993f4

View file

@ -65,6 +65,8 @@ angular.module('copayApp.controllers').controller('amountController', function($
$scope.unitName = config.unitName;
if (data.stateParams.currency) {
$scope.alternativeIsoCode = data.stateParams.currency;
} else {
$scope.alternativeIsoCode = config.alternativeIsoCode || 'USD';
}
$scope.specificAmount = $scope.specificAlternativeAmount = '';
$scope.isCordova = platformInfo.isCordova;