Simplify Android biometric screen
This commit is contained in:
@@ -18,8 +18,8 @@ android {
|
||||
applicationId "net.linkedcorp.linkedsign"
|
||||
minSdk 26
|
||||
targetSdk 35
|
||||
versionCode 10207
|
||||
versionName "1.2.7"
|
||||
versionCode 10208
|
||||
versionName "1.2.8"
|
||||
|
||||
buildConfigField "String", "API_BASE_URL", "\"${apiBaseUrl}\""
|
||||
}
|
||||
|
||||
@@ -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