fix scan fingerprint value (#4089)
This commit is contained in:
parent
4a8e5397ce
commit
b0f19fb18b
1 changed files with 5 additions and 5 deletions
|
|
@ -19,12 +19,12 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
||||||
//this.externalIndex = fc.getExternalIndex();
|
//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;
|
this.touchidAvailable = true;
|
||||||
config.touchIdFor = config.touchIdFor || {};
|
|
||||||
$scope.touchid = config.touchIdFor[walletId];
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var unwatchEncrypt = $scope.$watch('encrypt', function(val) {
|
var unwatchEncrypt = $scope.$watch('encrypt', function(val) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue