Fixed detecting if layout for FaceID or TouchID should be displayed
This commit is contained in:
parent
cd8055a141
commit
0f83b2aced
|
@ -147,11 +147,13 @@ struct ProtectAppSettingsDialog: View {
|
||||||
isPasswordSelected = false
|
isPasswordSelected = false
|
||||||
isNoAppProtectionSelected = false
|
isNoAppProtectionSelected = false
|
||||||
|
|
||||||
if authenticationService.needsFaceIDToUnlockApp {
|
if type == .biometric {
|
||||||
isFaceIDSelected = true
|
if authenticationService.needsFaceIDToUnlockApp {
|
||||||
}
|
isFaceIDSelected = true
|
||||||
else if authenticationService.needsTouchIDToUnlockApp {
|
}
|
||||||
isTouchIDSelected = true
|
else if authenticationService.needsTouchIDToUnlockApp {
|
||||||
|
isTouchIDSelected = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if type == .password {
|
else if type == .password {
|
||||||
isPasswordSelected = true
|
isPasswordSelected = true
|
||||||
|
|
Loading…
Reference in New Issue