Avoid overflow in extension screen items (fixes #6972)

This commit is contained in:
arkon 2022-06-25 22:41:22 -04:00
parent 3ca1ce4636
commit 80d2d9d258

View file

@ -300,6 +300,8 @@ fun ExtensionItemContent(
if (warning != null) {
Text(
text = stringResource(warning).uppercase(),
maxLines = 1,
overflow = TextOverflow.Ellipsis,
style = MaterialTheme.typography.bodySmall.copy(
color = MaterialTheme.colorScheme.error,
),