Ensure user display name is clipped to the Text area (#1950)
This commit is contained in:
parent
8f5fed48ab
commit
573dc2a7af
6 changed files with 17 additions and 4 deletions
|
|
@ -360,6 +360,7 @@ private fun MessageSenderInformation(
|
|||
Avatar(senderAvatar)
|
||||
Spacer(modifier = Modifier.width(4.dp))
|
||||
Text(
|
||||
modifier = Modifier.clipToBounds(),
|
||||
text = sender,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue