Issue 1419 - if biometric lock is already being used assume it is still supported
This commit is contained in:
parent
865e92c94c
commit
8b22d94c9b
|
@ -22,7 +22,10 @@ export default class BiometricDarwinMain implements BiometricMain {
|
|||
}
|
||||
|
||||
supportsBiometric(): Promise<boolean> {
|
||||
return Promise.resolve(systemPreferences.canPromptTouchID());
|
||||
return Promise.resolve(
|
||||
// Issue 1419 - if the biometric unlock is already set allowed this make sure we still support it (clam-shell)
|
||||
systemPreferences.canPromptTouchID() || this.stateService.getBiometricUnlock()
|
||||
);
|
||||
}
|
||||
|
||||
async authenticateBiometric(): Promise<boolean> {
|
||||
|
|
Loading…
Reference in New Issue