mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Add proper styling for incorrect pin text.
This commit is contained in:
@@ -112,7 +112,13 @@ fun MessageBackupsPinConfirmationScreen(
|
||||
isError = isPinIncorrect,
|
||||
supportingText = {
|
||||
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