fix scan fingerprint value (#4089)

This commit is contained in:
Javier Donadío 2016-04-18 09:33:48 -03:00 committed by Matias Alejo Garcia
parent 4a8e5397ce
commit b0f19fb18b
1 changed files with 5 additions and 5 deletions

View File

@ -19,12 +19,12 @@ angular.module('copayApp.controllers').controller('preferencesController',
//this.externalIndex = fc.getExternalIndex();
}
if (window.touchidAvailable) {
var walletId = fc.credentials.walletId;
var walletId = fc.credentials.walletId;
config.touchIdFor = config.touchIdFor || {};
$scope.touchid = config.touchIdFor[walletId];
if (window.touchidAvailable)
this.touchidAvailable = true;
config.touchIdFor = config.touchIdFor || {};
$scope.touchid = config.touchIdFor[walletId];
}
};
var unwatchEncrypt = $scope.$watch('encrypt', function(val) {