From ab5506f7eb5b863bc0e32e23bdc16380f5690730 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 2 Oct 2020 04:35:31 +0200 Subject: [PATCH] Really fixed determining available biometric authentication type --- .../BankingiOSApp/ui/dialogs/ProtectAppSettingsDialog.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/ProtectAppSettingsDialog.swift b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/ProtectAppSettingsDialog.swift index f0d3b0a7..3a4a2049 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/ProtectAppSettingsDialog.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/dialogs/ProtectAppSettingsDialog.swift @@ -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 } }