From 90230d6424172be109048d3fdbee322dd3aad10e Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 1 Dec 2016 12:09:43 -0300 Subject: [PATCH] Fix buying gift card when no wallet found --- src/js/controllers/amount.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/controllers/amount.js b/src/js/controllers/amount.js index 4d83a4bd7..93bab7a0c 100644 --- a/src/js/controllers/amount.js +++ b/src/js/controllers/amount.js @@ -252,6 +252,7 @@ angular.module('copayApp.controllers').controller('amountController', function($ network: 'livenet', })[0].id; } catch(err) { + ongoingProcess.set('Preparing transaction...', false); popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('No wallet found!')); return; }; @@ -271,6 +272,7 @@ angular.module('copayApp.controllers').controller('amountController', function($ amazonService.getBitPayInvoice(dataInvoice.invoiceId, function(err, invoice) { if (err) { + ongoingProcess.set('Preparing transaction...', false); popupService.showAlert(gettextCatalog.getString('Error'), bwcError.msg(err)); return; }