Set max lines to 2 in replies for composer (#645)
* Set `maxLines = 2` for the composer message preview in replies * Update screenshots --------- Co-authored-by: ElementBot <benoitm+elementbot@element.io>
This commit is contained in:
parent
c7b2ac5acd
commit
3e9475c8ab
3 changed files with 5 additions and 5 deletions
|
|
@ -302,7 +302,7 @@ private fun ReplyToModeView(
|
|||
style = ElementTextStyles.Regular.caption1,
|
||||
textAlign = TextAlign.Start,
|
||||
color = LocalColors.current.placeholder,
|
||||
maxLines = 1,
|
||||
maxLines = if (attachmentThumbnailInfo != null) 1 else 2,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue