Add proper styling for incorrect pin text.

This commit is contained in:
Alex Hart 2024-08-07 11:07:29 -03:00 committed by mtang-signal
parent ccabd9edd8
commit b9da045f79

View file

@ -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)
)
}
}
)