mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Ensure the thread summary sender display name won't wrap to the next line (#5403)
This commit is contained in:
committed by
GitHub
parent
cc38651c44
commit
d391be7002
+2
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user