Really fixed determining available biometric authentication type
This commit is contained in:
parent
50c2e085a0
commit
ab5506f7eb
|
@ -148,10 +148,10 @@ struct ProtectAppSettingsDialog: View {
|
||||||
isNoAppProtectionSelected = false
|
isNoAppProtectionSelected = false
|
||||||
|
|
||||||
if type == .biometric {
|
if type == .biometric {
|
||||||
if authenticationService.needsFaceIDToUnlockApp {
|
if authenticationService.deviceSupportsFaceID {
|
||||||
isFaceIDSelected = true
|
isFaceIDSelected = true
|
||||||
}
|
}
|
||||||
else if authenticationService.needsTouchIDToUnlockApp {
|
else if authenticationService.deviceSupportsTouchID {
|
||||||
isTouchIDSelected = true
|
isTouchIDSelected = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue