fixup! feat(common): visually distinguish between read and unread comments

This commit is contained in:
Harsh Shandilya 2024-07-18 16:23:01 +05:30
parent b1d6cbcb39
commit 371780a1fd

View file

@ -138,7 +138,7 @@ internal fun CommentEntry(
.fillMaxWidth() .fillMaxWidth()
.clickable { toggleExpanded(commentNode) } .clickable { toggleExpanded(commentNode) }
.background( .background(
if (commentNode.isUnread) MaterialTheme.colorScheme.surfaceBright if (commentNode.isUnread) MaterialTheme.colorScheme.surfaceContainerHigh
else MaterialTheme.colorScheme.background else MaterialTheme.colorScheme.background
) )
.padding( .padding(