Benoit Marty
2026-08-10 12:12:55 +02:00
parent 650b38429c
commit 1693d325c1
3 changed files with 19 additions and 26 deletions
@@ -812,7 +812,7 @@ private fun MessageEventBubbleContent(
else -> inReplyToModifier.clickable(onClick = inReplyToClick)
}
val contentHasError = currentContentValidationState.hasError()
val contentHasError = currentContentValidationState.hasError() || inReplyTo is InReplyToDetails.Error
val borderColor = if (contentHasError) ElementTheme.colors.borderCriticalSubtle else ElementTheme.colors.separatorPrimary
val backgroundColor = if (contentHasError) ElementTheme.colors.bgCriticalSubtle else ElementTheme.colors.bgCanvasDefault
Box(