diff --git a/src/js/controllers/confirm.js b/src/js/controllers/confirm.js index fe98906c6..f6264828a 100644 --- a/src/js/controllers/confirm.js +++ b/src/js/controllers/confirm.js @@ -63,9 +63,8 @@ angular.module('copayApp.controllers').controller('confirmController', function( if (!$scope.wallets || !$scope.wallets.length) { $scope.noMatchingWallet = true; - if ($scope.paypro) { - displayValues(); - } + displayValues(); + $log.warn('No ' + $scope.network + ' wallets to make the payment'); $timeout(function() { $scope.$apply(); }); @@ -107,6 +106,7 @@ angular.module('copayApp.controllers').controller('confirmController', function( } else initConfirm(); } else { if (!enoughFunds) $scope.insufficientFunds = true; + displayValues(); $log.warn('No wallet available to make the payment'); } $timeout(function() { diff --git a/src/js/directives/clickToAccept.js b/src/js/directives/clickToAccept.js index 63257e235..2127075dd 100644 --- a/src/js/directives/clickToAccept.js +++ b/src/js/directives/clickToAccept.js @@ -8,7 +8,9 @@ angular.module('copayApp.directives') transclude: true, scope: { sendStatus: '=clickSendStatus', - wallet: '=hasWalletChosen' + hasWalletChosen: '=hasWalletChosen', + insufficientFunds: '=insufficientFunds', + noMatchingWallet: '=noMatchingWallet' }, link: function(scope, element, attrs) { scope.$watch('sendStatus', function() { diff --git a/src/sass/views/confirm.scss b/src/sass/views/confirm.scss index 2372290ce..0f5288a41 100644 --- a/src/sass/views/confirm.scss +++ b/src/sass/views/confirm.scss @@ -1,4 +1,5 @@ #view-confirm { + background-color: #ffffff; @extend .deflash-blue; .icon-amazon { background-image: url("../img/icon-amazon.svg"); diff --git a/www/views/confirm.html b/www/views/confirm.html index a3cef657d..8ad43e6f2 100644 --- a/www/views/confirm.html +++ b/www/views/confirm.html @@ -60,12 +60,18 @@ From To From -