diff --git a/src/js/services/popupService.js b/src/js/services/popupService.js index 9045c7b2b..6771d0e58 100644 --- a/src/js/services/popupService.js +++ b/src/js/services/popupService.js @@ -118,7 +118,7 @@ angular.module('copayApp.services').service('popupService', function($log, $ioni this.showPrompt = function(title, message, opts, cb) { $log.warn(title + ": " + message); - if (isCordova) + if (isCordova && !opts.force) _cordovaPrompt(title, message, opts, cb); else _ionicPrompt(title, message, opts, cb); diff --git a/src/js/services/walletService.js b/src/js/services/walletService.js index 0b0de6491..470d9c731 100644 --- a/src/js/services/walletService.js +++ b/src/js/services/walletService.js @@ -821,7 +821,8 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim // An alert dialog var askPassword = function(name, title, cb) { var opts = { - inputType: 'password' + inputType: 'password', + force: true }; popupService.showPrompt(title, name, opts, function(res) { if (!res) return cb(); @@ -961,7 +962,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim $rootScope.$emit('Local/TxAction', wallet.id); var type = root.getViewStatus(wallet, broadcastedTxp); - if(!customStatusHandler) { + if (!customStatusHandler) { root.openStatusModal(type, broadcastedTxp, function() {}); } @@ -972,7 +973,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim var type = root.getViewStatus(wallet, signedTxp); - if(!customStatusHandler) { + if (!customStatusHandler) { root.openStatusModal(type, signedTxp, function() {}); }