change option name
This commit is contained in:
parent
20b2f2d6dc
commit
99274519d6
2 changed files with 2 additions and 2 deletions
|
|
@ -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 && !opts.force)
|
||||
if (isCordova && !opts.forceHTMLPrompt)
|
||||
_cordovaPrompt(title, message, opts, cb);
|
||||
else
|
||||
_ionicPrompt(title, message, opts, cb);
|
||||
|
|
|
|||
|
|
@ -822,7 +822,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
|||
var askPassword = function(name, title, cb) {
|
||||
var opts = {
|
||||
inputType: 'password',
|
||||
force: true
|
||||
forceHTMLPrompt: true
|
||||
};
|
||||
popupService.showPrompt(title, name, opts, function(res) {
|
||||
if (!res) return cb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue