Use more unique item keys

Should make stacktraces more distinguishable.
This commit is contained in:
arkon
2022-09-26 17:23:04 -04:00
parent f4c684b4b8
commit e90b39b29d
7 changed files with 13 additions and 13 deletions

View File

@@ -93,7 +93,7 @@ fun LazyListScope.updatesUiItems(
key = {
when (it) {
is UpdatesUiModel.Header -> it.hashCode()
is UpdatesUiModel.Item -> it.item.update.chapterId
is UpdatesUiModel.Item -> "updates-${it.item.update.chapterId}"
}
},
) { item ->