mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Use more unique item keys
Should make stacktraces more distinguishable.
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user