Ensure the thread summary sender display name won't wrap to the next line (#5403)

This commit is contained in:
Jorge Martin Espinosa 2025-09-24 10:16:42 +02:00 committed by GitHub
parent cc38651c44
commit d391be7002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -352,6 +352,8 @@ private fun ThreadSummaryView(
text = latestEvent.senderProfile.getDisambiguatedDisplayName(latestEvent.senderId),
style = ElementTheme.typography.fontBodySmMedium,
color = ElementTheme.colors.textSecondary,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Spacer(modifier = Modifier.width(4.dp))