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

@ -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);