Add proper styling for incorrect pin text.
This commit is contained in:
parent
ccabd9edd8
commit
b9da045f79
1 changed files with 7 additions and 1 deletions
|
@ -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)
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue