Merge branch 'cmp-rewrite' of https://github.com/NuvioMedia/NuvioMobile into cmp-rewrite

This commit is contained in:
tapframe 2026-06-11 01:27:31 +05:30
commit f065e27203

View file

@ -538,10 +538,7 @@ object TraktLibraryRepository {
}
return (movieItems + showItems)
.mapNotNull(::mapToLibraryItem)
.sortedWith(
compareBy<LibraryItem> { it.traktRank ?: Int.MAX_VALUE }
.thenByDescending { it.savedAtEpochMs },
)
.sortedByDescending { it.savedAtEpochMs }
}
private suspend fun fetchPersonalListItems(