Преглед на файлове

Avoid overflow in extension screen items (fixes #6972)

arkon преди 2 години
родител
ревизия
80d2d9d258
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt

+ 2 - 0
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,
                     ),