This commit is contained in:
Benoit Marty
2026-03-25 16:51:41 +01:00
parent aee89c29e3
commit 0b7fe2f10d
2 changed files with 5 additions and 5 deletions

View File

@@ -745,8 +745,8 @@ private fun MessageEventBubbleContent(
} else { } else {
inReplyToModifier.clickable(onClick = inReplyToClick) inReplyToModifier.clickable(onClick = inReplyToClick)
} }
Row( Box(
talkbackCompatModifier modifier = talkbackCompatModifier
.border(1.dp, ElementTheme.colors.borderInteractiveSecondary, RoundedCornerShape(6.dp)) .border(1.dp, ElementTheme.colors.borderInteractiveSecondary, RoundedCornerShape(6.dp))
.background(ElementTheme.colors.bgCanvasDefault, RoundedCornerShape(6.dp)) .background(ElementTheme.colors.bgCanvasDefault, RoundedCornerShape(6.dp))
.padding(4.dp) .padding(4.dp)
@@ -843,7 +843,7 @@ internal fun TimelineItemEventRowWithThreadSummaryPreview() = ElementPreview {
threadInfo = TimelineItemThreadInfo.ThreadRoot( threadInfo = TimelineItemThreadInfo.ThreadRoot(
latestEventText = "This is the latest message in the thread", latestEventText = "This is the latest message in the thread",
summary = ThreadSummary( summary = ThreadSummary(
AsyncData.Success( latestEvent = AsyncData.Success(
EmbeddedEventInfo( EmbeddedEventInfo(
eventOrTransactionId = EventOrTransactionId.Event(EventId("\$event-id")), eventOrTransactionId = EventOrTransactionId.Event(EventId("\$event-id")),
content = MessageContent( content = MessageContent(
@@ -861,7 +861,8 @@ internal fun TimelineItemEventRowWithThreadSummaryPreview() = ElementPreview {
), ),
timestamp = 0L, timestamp = 0L,
) )
), numberOfReplies = 20L ),
numberOfReplies = 20L,
) )
) )
), ),

View File

@@ -18,7 +18,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.size
import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.ripple import androidx.compose.material3.ripple
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.runtime.remember import androidx.compose.runtime.remember