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:
parent
5674d10d9b
commit
c518e1ce65
2 changed files with 7 additions and 2 deletions
|
|
@ -325,7 +325,12 @@ private fun TimelineItemEventRowContent(
|
||||||
MessageEventBubble(
|
MessageEventBubble(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.constrainAs(message) {
|
.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) {
|
if (event.isMine) {
|
||||||
end.linkTo(parent.end, margin = 16.dp)
|
end.linkTo(parent.end, margin = 16.dp)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ core = "1.13.1"
|
||||||
# Stick to 1.0.0 for now, and ensure that this scenario cannot be reproduced when upgrading the version.
|
# Stick to 1.0.0 for now, and ensure that this scenario cannot be reproduced when upgrading the version.
|
||||||
datastore = "1.0.0"
|
datastore = "1.0.0"
|
||||||
constraintlayout = "2.1.4"
|
constraintlayout = "2.1.4"
|
||||||
constraintlayout_compose = "1.0.1"
|
constraintlayout_compose = "1.1.0"
|
||||||
lifecycle = "2.8.6"
|
lifecycle = "2.8.6"
|
||||||
activity = "1.9.3"
|
activity = "1.9.3"
|
||||||
media3 = "1.4.1"
|
media3 = "1.4.1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue