mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
fix(common): set item keys in comments page
This commit is contained in:
parent
7b78438385
commit
dc06410fc4
1 changed files with 4 additions and 2 deletions
|
@ -80,7 +80,7 @@ internal fun CommentsPageInternal(
|
|||
}
|
||||
|
||||
if (commentNodes.isNotEmpty()) {
|
||||
item {
|
||||
item(key = "comments_header") {
|
||||
Text(
|
||||
text = "Comments",
|
||||
style = MaterialTheme.typography.labelLarge,
|
||||
|
@ -88,7 +88,9 @@ internal fun CommentsPageInternal(
|
|||
)
|
||||
}
|
||||
|
||||
commentNodes.forEach { node -> item { Node(node, htmlConverter, openUserProfile) } }
|
||||
commentNodes.forEach { node ->
|
||||
item(key = node.comment.shortId) { Node(node, htmlConverter, openUserProfile) }
|
||||
}
|
||||
} else {
|
||||
item {
|
||||
Text(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue