mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 12:08:34 +00:00
Add proper styling for incorrect pin text.
This commit is contained in:
@@ -112,7 +112,13 @@ fun MessageBackupsPinConfirmationScreen(
|
|||||||
isError = isPinIncorrect,
|
isError = isPinIncorrect,
|
||||||
supportingText = {
|
supportingText = {
|
||||||
if (isPinIncorrect) {
|
if (isPinIncorrect) {
|
||||||
Text(text = stringResource(id = R.string.PinRestoreEntryFragment_incorrect_pin))
|
Text(
|
||||||
|
text = stringResource(id = R.string.PinRestoreEntryFragment_incorrect_pin),
|
||||||
|
textAlign = TextAlign.Center,
|
||||||
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
|
.padding(top = 12.dp)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user