mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Update dependency androidx.constraintlayout:constraintlayout-compose to v1.1.0 (#3770)
* Update dependency androidx.constraintlayout:constraintlayout-compose to v1.1.0 * Fix negative margin usage --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
+6
-1
@@ -325,7 +325,12 @@ private fun TimelineItemEventRowContent(
|
||||
MessageEventBubble(
|
||||
modifier = Modifier
|
||||
.constrainAs(message) {
|
||||
top.linkTo(sender.bottom, margin = NEGATIVE_MARGIN_FOR_BUBBLE)
|
||||
val topMargin = if (bubbleState.cutTopStart) {
|
||||
NEGATIVE_MARGIN_FOR_BUBBLE
|
||||
} else {
|
||||
0.dp
|
||||
}
|
||||
top.linkTo(sender.bottom, margin = topMargin)
|
||||
if (event.isMine) {
|
||||
end.linkTo(parent.end, margin = 16.dp)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user