Use error popup rather than in view error text.

This commit is contained in:
Andy Phillipson 2016-11-21 17:24:42 -05:00
commit bb1aa3dcfd
3 changed files with 2 additions and 6 deletions

View file

@ -63,9 +63,9 @@ angular.module('copayApp.controllers').controller('bitpayCardController', functi
if (err) {
$log.error(err);
$scope.error = gettextCatalog.getString('Could not get transactions');
self.bitpayCardTransactionHistory = null;
self.bitpayCardCurrentBalance = null;
popupService.showAlert(gettextCatalog.getString('Error'), gettextCatalog.getString('Could not get transactions'));
return;
}