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
|
||||
|
||||
if type == .biometric {
|
||||
if authenticationService.needsFaceIDToUnlockApp {
|
||||
if authenticationService.deviceSupportsFaceID {
|
||||
isFaceIDSelected = true
|
||||
}
|
||||
else if authenticationService.needsTouchIDToUnlockApp {
|
||||
else if authenticationService.deviceSupportsTouchID {
|
||||
isTouchIDSelected = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue