瀏覽代碼

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,
                     ),