mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-18 17:19:43 +02:00
Deduplicate entries when browsing (#1957)
This commit is contained in:
@@ -165,7 +165,9 @@ abstract class SearchScreenModel(
|
||||
source.getSearchManga(1, query, source.getFilterList())
|
||||
}
|
||||
|
||||
val titles = page.mangas.map { it.toDomainManga(source.id) }
|
||||
val titles = page.mangas
|
||||
.map { it.toDomainManga(source.id) }
|
||||
.distinctBy { it.url }
|
||||
.let { networkToLocalManga(it) }
|
||||
|
||||
if (isActive) {
|
||||
|
Reference in New Issue
Block a user