diff --git a/src/js/controllers/tx-details.js b/src/js/controllers/tx-details.js index 432b64bfe..4c00de15f 100644 --- a/src/js/controllers/tx-details.js +++ b/src/js/controllers/tx-details.js @@ -123,13 +123,13 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio if ($scope.wallet.coin == 'bch' && txDate >= cashaddrDate) { var bchAddresses = bitcoinCashJsService.translateAddresses($scope.btx.addressTo); - $scope.btx.displayAddress = bchAddresses.cashaddr; - $scope.btx.copyAddress = 'bitcoincash:' + $scope.btx.displayAddress; - } else { - $scope.btx.displayAddress = $scope.btx.addressTo; - $scope.btx.copyAddress = $scope.btx.displayAddress; + $scope.btx.cashAddr = bchAddresses.cashaddr; + $scope.btx.cashCopyAddr = 'bitcoincash:' + $scope.btx.cashAddr; } + $scope.btx.displayAddress = $scope.btx.addressTo; + $scope.btx.copyAddress = $scope.btx.displayAddress; + txFormatService.formatAlternativeStr($scope.wallet.coin, tx.fees, function(v) { $scope.btx.feeFiatStr = v; $scope.btx.feeRateStr = ($scope.btx.fees / ($scope.btx.amount + $scope.btx.fees) * 100).toFixed(2) + '%'; diff --git a/www/views/tx-details.html b/www/views/tx-details.html index 1f32a6238..bd727434f 100644 --- a/www/views/tx-details.html +++ b/www/views/tx-details.html @@ -39,6 +39,14 @@
To + + + +
+ + {{toName}} +
+
@@ -48,6 +56,7 @@
+
From To