Only 8.dp between the reply box and the reply itself.

This commit is contained in:
Benoit Marty 2023-06-29 17:50:58 +02:00 committed by Benoit Marty
parent 3ecabee0aa
commit 7093ab101b

View file

@ -268,7 +268,7 @@ private fun MessageEventBubbleContent(
} }
} else { } else {
Box(modifier) { Box(modifier) {
ContentView(modifier = contentModifier.padding(start = 12.dp, end = 12.dp, top = 8.dp, bottom = 8.dp)) ContentView(modifier = contentModifier)
TimelineEventTimestampView( TimelineEventTimestampView(
event = event, event = event,
onClick = onTimestampClicked, onClick = onTimestampClicked,
@ -316,7 +316,11 @@ private fun MessageEventBubbleContent(
val contentModifier = if (isMediaItem) { val contentModifier = if (isMediaItem) {
Modifier.clip(RoundedCornerShape(12.dp)) Modifier.clip(RoundedCornerShape(12.dp))
} else { } else {
Modifier if (inReplyToDetails != null) {
Modifier.padding(start = 12.dp, end = 12.dp, top = 0.dp, bottom = 8.dp)
} else {
Modifier.padding(start = 12.dp, end = 12.dp, top = 8.dp, bottom = 8.dp)
}
} }
ContentAndTimestampView( ContentAndTimestampView(