From 800896be8802b269171c48773c9922ebc65240d4 Mon Sep 17 00:00:00 2001 From: ganfra Date: Tue, 13 Jun 2023 10:52:12 +0200 Subject: [PATCH] Timeline: fix ReplyToContent clip on click --- .../messages/impl/timeline/components/TimelineItemEventRow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemEventRow.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemEventRow.kt index f84a899c6b..4eec5cbda8 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemEventRow.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/components/TimelineItemEventRow.kt @@ -251,6 +251,7 @@ private fun MessageEventBubbleContent( attachmentThumbnailInfo = attachmentThumbnailInfo, modifier = Modifier .padding(top = 8.dp, start = 8.dp, end = 8.dp) + .clip(RoundedCornerShape(6.dp)) .clickable(enabled = true, onClick = inReplyToClick), ) } @@ -295,7 +296,6 @@ private fun ReplyToContent( } Row( modifier - .clip(RoundedCornerShape(6.dp)) .background(MaterialTheme.colorScheme.surface) .padding(paddings) ) {