mirror of https://github.com/BTCPrivate/copay.git
fixes Android fingerprint detection
This commit is contained in:
parent
6158a96173
commit
d80d931323
|
@ -12,8 +12,11 @@ angular.module('copayApp.services').factory('fingerprintService', function($log,
|
|||
_isAvailable = 'IOS';
|
||||
},
|
||||
function(msg) {
|
||||
FingerprintAuth.isAvailable(function() {
|
||||
_isAvailable = 'ANDROID';
|
||||
FingerprintAuth.isAvailable(function(result) {
|
||||
|
||||
if (result.isAvailable)
|
||||
_isAvailable = 'ANDROID';
|
||||
|
||||
}, function() {
|
||||
_isAvailable = false;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue