fix(android): set a key for database items

This commit is contained in:
Harsh Shandilya 2023-01-21 01:50:00 +05:30
parent ddc7a7598d
commit 5e3356e1d4
No known key found for this signature in database

View file

@ -32,7 +32,7 @@ fun DatabasePosts(
) { ) {
items.forEach { (month, posts) -> items.forEach { (month, posts) ->
stickyHeader { MonthHeader(month = month) } stickyHeader { MonthHeader(month = month) }
items(posts) { item -> items(posts, { it.shortId }) { item ->
ListItem( ListItem(
item = item, item = item,
isSaved = { true }, isSaved = { true },