Avoid overflow in extension screen items (fixes #6972)
This commit is contained in:
parent
3ca1ce4636
commit
80d2d9d258
1 changed files with 2 additions and 0 deletions
|
@ -300,6 +300,8 @@ fun ExtensionItemContent(
|
||||||
if (warning != null) {
|
if (warning != null) {
|
||||||
Text(
|
Text(
|
||||||
text = stringResource(warning).uppercase(),
|
text = stringResource(warning).uppercase(),
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis,
|
||||||
style = MaterialTheme.typography.bodySmall.copy(
|
style = MaterialTheme.typography.bodySmall.copy(
|
||||||
color = MaterialTheme.colorScheme.error,
|
color = MaterialTheme.colorScheme.error,
|
||||||
),
|
),
|
||||||
|
|
Reference in a new issue