diff --git a/public/views/modals/tx-details.html b/public/views/modals/tx-details.html
index e4683dfee..06ab973a8 100644
--- a/public/views/modals/tx-details.html
+++ b/public/views/modals/tx-details.html
@@ -23,7 +23,7 @@
Information
- -
+
-
To:
diff --git a/public/views/modals/txp-details.html b/public/views/modals/txp-details.html
index f0bcccb92..793794728 100644
--- a/public/views/modals/txp-details.html
+++ b/public/views/modals/txp-details.html
@@ -13,9 +13,9 @@
Information
- -
+
-
To:
- {{tx.toAddress}}
+ {{tx.toAddress}}
-
Amount:
diff --git a/src/js/controllers/walletHome.js b/src/js/controllers/walletHome.js
index e01f78f91..3f4f73dc9 100644
--- a/src/js/controllers/walletHome.js
+++ b/src/js/controllers/walletHome.js
@@ -248,6 +248,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}, 100);
};
+ $scope.copyAddress = function(addr) {
+ if (!addr) return;
+ self.copyAddress(addr);
+ };
+
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
};
@@ -753,6 +758,11 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
return n.substring(0, 4);
};
+ $scope.copyAddress = function(addr) {
+ if (!addr) return;
+ self.copyAddress(addr);
+ };
+
$scope.cancel = function() {
$modalInstance.dismiss('cancel');
};