mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 06:31:47 +01:00
Ignore chapters with duplicated name. Fixes #483
This commit is contained in:
parent
4524c705da
commit
7b28614c37
@ -264,6 +264,7 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac
|
|||||||
|
|
||||||
fun getUnreadChaptersSorted() = presenter.chapters
|
fun getUnreadChaptersSorted() = presenter.chapters
|
||||||
.filter { !it.read && !it.isDownloaded }
|
.filter { !it.read && !it.isDownloaded }
|
||||||
|
.distinctBy { it.name }
|
||||||
.sortedByDescending { it.source_order }
|
.sortedByDescending { it.source_order }
|
||||||
|
|
||||||
// i = 0: Download 1
|
// i = 0: Download 1
|
||||||
|
Loading…
Reference in New Issue
Block a user