diff --git a/src/js/controllers/activity.js b/src/js/controllers/activity.js index 615dc13bb..696730bff 100644 --- a/src/js/controllers/activity.js +++ b/src/js/controllers/activity.js @@ -34,7 +34,7 @@ angular.module('copayApp.controllers').controller('activityController', if (txp) txpModalService.open(txp); else { $log.warn('No txp found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } } }; @@ -53,7 +53,7 @@ angular.module('copayApp.controllers').controller('activityController', if (!tx) { $log.warn('No tx found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } $scope.wallet = wallet; diff --git a/src/js/controllers/tab-home.js b/src/js/controllers/tab-home.js index cd6ae94e5..95c0908f3 100644 --- a/src/js/controllers/tab-home.js +++ b/src/js/controllers/tab-home.js @@ -26,7 +26,7 @@ angular.module('copayApp.controllers').controller('tabHomeController', if (txp) txpModalService.open(txp); else { $log.warn('No txp found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } } }; @@ -45,7 +45,7 @@ angular.module('copayApp.controllers').controller('tabHomeController', if (!tx) { $log.warn('No tx found'); - return popupService.showAlert(gettextCatalog.getString('Transaction not found'), null); + return popupService.showAlert(null, gettextCatalog.getString('Transaction not found')); } $scope.wallet = wallet;