receive tab not showing fiat amount on receiving amount ("payment received" screen)

This commit is contained in:
Sebastiaan Pasma 2018-08-14 14:05:22 +02:00
commit 448679d1a6
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F

View file

@ -138,7 +138,9 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
$scope.paymentReceivedAlternativeAmount = ''; // For when a subsequent payment is received.
txFormatService.formatAlternativeStr($scope.wallet.coin, data.x.out[i].value, function(alternativeStr){
if (alternativeStr) {
$scope.paymentReceivedAlternativeAmount = alternativeStr;
$scope.$apply(function () {
$scope.paymentReceivedAlternativeAmount = alternativeStr;
});
}
});
}