Skip to content

Commit

Permalink
fix: marquee on list item
Browse files Browse the repository at this point in the history
  • Loading branch information
Malopieds committed Jun 28, 2024
1 parent 6c3eb20 commit 810280d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

2 comments on commit 810280d

@yant0
Copy link

@yant0 yant0 commented on 810280d Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any plan to make this an optional thing?

also im facing lag issues from rc to official release. using android with 3gb ram. unsure what the cause but perhaps this might be one.

@Malopieds
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any plan to make this an optional thing?

Yes I could think about it. That could solve your issue. Could be open a feature request for this ?

Please sign in to comment.