Avoid overflow in extension screen items (fixes #6972)
(cherry picked from commit 80d2d9d2581df56286b990f167ad34cbe00a8627) # Conflicts: # app/src/main/java/eu/kanade/presentation/browse/ExtensionsScreen.kt
This commit is contained in:
parent
d2e40a0749
commit
b889a3482e
@ -304,6 +304,8 @@ fun ExtensionItemContent(
|
||||
if (warning != null) {
|
||||
Text(
|
||||
text = stringResource(warning).uppercase() /* SY --> */ plusRepo extension /* SY <-- */,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
style = MaterialTheme.typography.bodySmall.copy(
|
||||
color = MaterialTheme.colorScheme.error,
|
||||
),
|
||||
@ -311,6 +313,8 @@ fun ExtensionItemContent(
|
||||
} /* SY --> */ else if (extension is Extension.Available && extension.isRepoSource) {
|
||||
Text(
|
||||
text = stringResource(R.string.repo_source).uppercase(),
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
style = MaterialTheme.typography.bodySmall.copy(
|
||||
color = MaterialTheme.colorScheme.error,
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user