mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 14:07:05 +05:30
fix(android): set a key for database items
This commit is contained in:
parent
ddc7a7598d
commit
5e3356e1d4
1 changed files with 1 additions and 1 deletions
|
@ -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 },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue