force to use ionic prompt to hide password

This commit is contained in:
Gabriel Bazán 2016-10-11 17:10:00 -03:00
commit 20b2f2d6dc
2 changed files with 5 additions and 4 deletions

View file

@ -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() {});
}