Simplify Android biometric screen
This commit is contained in:
@@ -637,18 +637,11 @@ private fun BiometricUnlockScreen(
|
||||
Icon(Icons.Outlined.Fingerprint, contentDescription = null, tint = Brand, modifier = Modifier.size(54.dp))
|
||||
}
|
||||
Text("Huella dactilar", color = BrandDark, fontSize = AppFontSizes.xl, fontWeight = FontWeight.SemiBold)
|
||||
Text("Coloque su dedo en el sensor", color = TextMuted, fontSize = AppFontSizes.base)
|
||||
if (!email.isNullOrBlank()) {
|
||||
Text(email, color = TextMuted, fontSize = AppFontSizes.sm)
|
||||
}
|
||||
}
|
||||
}
|
||||
Text("o use", color = TextMuted, fontSize = AppFontSizes.xs, fontWeight = FontWeight.SemiBold)
|
||||
Row(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
|
||||
AltAuthTile("Face ID")
|
||||
AltAuthTile("PIN")
|
||||
AltAuthTile("SMS OTP")
|
||||
}
|
||||
FilledActionButton("Acceder con huella", Icons.Outlined.Fingerprint, onClick = onUnlock)
|
||||
OutlinedActionButton("Continuar sin huella", Icons.Outlined.Lock, onClick = onContinueWithoutBiometric)
|
||||
TextButton(onClick = onLogout) {
|
||||
|
||||
Reference in New Issue
Block a user