diff --git a/app-template/package.json b/app-template/package.json index afd2928f4..d0583355a 100644 --- a/app-template/package.json +++ b/app-template/package.json @@ -23,6 +23,9 @@ "frame": true, "width": 400, "height": 650, + "min_width": 400, + "max_width": 800, + "min_height": 650, "position": "center", "fullscreen": false }, diff --git a/src/js/controllers/buyGlidera.js b/src/js/controllers/buyGlidera.js index e25612418..e15632185 100644 --- a/src/js/controllers/buyGlidera.js +++ b/src/js/controllers/buyGlidera.js @@ -139,7 +139,6 @@ angular.module('copayApp.controllers').controller('buyGlideraController', $scope.wallets = profileService.getWallets({ network: $scope.network, - n: 1, onlyComplete: true }); }); diff --git a/src/js/directives/directives.js b/src/js/directives/directives.js index ecf849b10..5334924f5 100644 --- a/src/js/directives/directives.js +++ b/src/js/directives/directives.js @@ -113,10 +113,13 @@ angular.module('copayApp.directives') } } }) - .directive('contact', ['addressbookService', 'lodash', - function(addressbookService, lodash) { + .directive('contact', ['addressbookService', 'lodash', 'gettextCatalog', + function(addressbookService, lodash, gettextCatalog) { return { restrict: 'E', + scope: { + label: '=' + }, link: function(scope, element, attrs) { var addr = attrs.address; addressbookService.get(addr, function(err, ab) { @@ -124,7 +127,11 @@ angular.module('copayApp.directives') var name = lodash.isObject(ab) ? ab.name : ab; element.append(name); } else { - element.append(addr); + if (scope.label && scope.label == 'Sent') { + element.append(gettextCatalog.getString('Sent')); + } else { + element.append(addr); + } } }); } diff --git a/www/views/buyAmazon.html b/www/views/buyAmazon.html index 5be01b13d..88cb917b0 100644 --- a/www/views/buyAmazon.html +++ b/www/views/buyAmazon.html @@ -33,7 +33,7 @@ ng-submit="buy.confirm()" novalidate> -
+