Really fixed determining available biometric authentication type

This commit is contained in:
dankito 2020-10-02 04:35:31 +02:00
parent 50c2e085a0
commit ab5506f7eb
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }
} }