Ensure the thread summary sender display name won't wrap to the next line (#5403)
This commit is contained in:
parent
b75b79bf40
commit
e6b7ab8204
1 changed files with 2 additions and 0 deletions
|
|
@ -352,6 +352,8 @@ private fun ThreadSummaryView(
|
||||||
text = latestEvent.senderProfile.getDisambiguatedDisplayName(latestEvent.senderId),
|
text = latestEvent.senderProfile.getDisambiguatedDisplayName(latestEvent.senderId),
|
||||||
style = ElementTheme.typography.fontBodySmMedium,
|
style = ElementTheme.typography.fontBodySmMedium,
|
||||||
color = ElementTheme.colors.textSecondary,
|
color = ElementTheme.colors.textSecondary,
|
||||||
|
maxLines = 1,
|
||||||
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
|
|
||||||
Spacer(modifier = Modifier.width(4.dp))
|
Spacer(modifier = Modifier.width(4.dp))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue