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
c3b2db47bd
commit
ec9f0e2869
3 changed files with 5 additions and 5 deletions
|
|
@ -302,7 +302,7 @@ private fun ReplyToModeView(
|
||||||
style = ElementTextStyles.Regular.caption1,
|
style = ElementTextStyles.Regular.caption1,
|
||||||
textAlign = TextAlign.Start,
|
textAlign = TextAlign.Start,
|
||||||
color = LocalColors.current.placeholder,
|
color = LocalColors.current.placeholder,
|
||||||
maxLines = 1,
|
maxLines = if (attachmentThumbnailInfo != null) 1 else 2,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8922908539dc4978a23f72342e46a4c259322559d1f0dbe978dcf3ae8a4e79bf
|
oid sha256:ba55513ee2966dc6c02dbef9b66e3b780a8b883814d0389e5f119429a70716df
|
||||||
size 66820
|
size 69445
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:1a5b67e808ef8d171167e7fb241ba76b7e6d5ae48d193f6384bf3e2c4a0743f3
|
oid sha256:155879c0c4035664cc622b3a27fb84a813c2115b305cb0034f17505fdb02d850
|
||||||
size 66423
|
size 68799
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue