From 810280dacf842902ea3e2bad90976a9cbee4cab1 Mon Sep 17 00:00:00 2001 From: Malopieds Date: Fri, 28 Jun 2024 16:55:59 +0200 Subject: [PATCH] fix: marquee on list item --- .../main/java/com/malopieds/innertune/ui/component/Items.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/malopieds/innertune/ui/component/Items.kt b/app/src/main/java/com/malopieds/innertune/ui/component/Items.kt index 7763321ed..b79c2537c 100644 --- a/app/src/main/java/com/malopieds/innertune/ui/component/Items.kt +++ b/app/src/main/java/com/malopieds/innertune/ui/component/Items.kt @@ -139,7 +139,10 @@ inline fun ListItem( fontSize = 14.sp, fontWeight = FontWeight.Bold, maxLines = 1, - overflow = TextOverflow.Ellipsis + overflow = TextOverflow.Ellipsis, + modifier = Modifier + .basicMarquee() + .fillMaxWidth() ) if (subtitle != null) {