From dfbbbadfacc63b2555353a266df596d1230b3553 Mon Sep 17 00:00:00 2001 From: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com> Date: Sun, 30 Jul 2023 18:39:37 -0300 Subject: [PATCH] Show ellipsis in longer OSS library names (#9780) Show ellipsis in longer OSS library names. --- .../settings/screen/about/OpenSourceLibraryLicenseScreen.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt b/app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt index ffc7bf5449..992f267a8f 100644 --- a/app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt +++ b/app/src/main/java/eu/kanade/presentation/more/settings/screen/about/OpenSourceLibraryLicenseScreen.kt @@ -15,6 +15,7 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.platform.LocalUriHandler import androidx.compose.ui.res.stringResource +import androidx.compose.ui.text.style.TextOverflow import androidx.compose.ui.unit.dp import androidx.compose.ui.viewinterop.AndroidView import androidx.core.text.HtmlCompat @@ -45,6 +46,7 @@ class OpenSourceLibraryLicenseScreen( Text( text = name, maxLines = 1, + overflow = TextOverflow.Ellipsis, ) }, navigationIcon = {