diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/collection/CollectionViewModel.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/collection/CollectionViewModel.kt index af3f3cfd..bdbb059a 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/detail/collection/CollectionViewModel.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/detail/collection/CollectionViewModel.kt @@ -244,12 +244,15 @@ class CollectionViewModel } jobs.forEach { job -> val (type, row) = job.await() - _state.update { - val separateItems = - it.separateItems.toMutableMap().apply { - put(type, row) - } - it.copy(separateItems = separateItems) + // Only include Success if non-empty + if (row !is HomeRowLoadingState.Success || row.items.isNotEmpty()) { + _state.update { + val separateItems = + it.separateItems.toMutableMap().apply { + put(type, row) + } + it.copy(separateItems = separateItems) + } } } }