Touchid before Unlock on iOS

This commit is contained in:
Gustavo Maximiliano Cortez 2016-01-20 15:25:54 -03:00
commit 0a5c32b9f3
4 changed files with 97 additions and 95 deletions

View file

@ -630,6 +630,7 @@ angular.module('copayApp.services')
root.unlockFC = function(cb) {
var fc = root.focusedClient;
if (!fc.isPrivKeyEncrypted()) return cb();
$log.debug('Wallet is encrypted');
$rootScope.$emit('Local/NeedsPassword', false, function(err2, password) {
if (err2 || !password) {