From 80d2d9d2581df56286b990f167ad34cbe00a8627 Mon Sep 17 00:00:00 2001 From: arkon Date: Sat, 25 Jun 2022 22:41:22 -0400 Subject: [PATCH] Avoid overflow in extension screen items (fixes #6972) --- .../main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt b/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt index a6c05e0f2..143d81f3b 100644 --- a/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt @@ -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, ),