Skip to content

Commit

Permalink
fix: artist songs crash, close #1504
Browse files Browse the repository at this point in the history
  • Loading branch information
z-huang committed Aug 31, 2024
1 parent 9d00b56 commit 92f5878
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ArtistItemsViewModel @Inject constructor(
).onSuccess { artistItemsPage ->
title.value = artistItemsPage.title
itemsPage.value = ItemsPage(
items = artistItemsPage.items,
items = artistItemsPage.items.distinctBy { it.id },
continuation = artistItemsPage.continuation
)
}.onFailure {
Expand Down

0 comments on commit 92f5878

Please sign in to comment.