mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 01:41:48 +01:00
Download next N chapters now excludes the ones enqueued. #556
This commit is contained in:
parent
a0064a1699
commit
d10bf45283
@ -267,7 +267,7 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac
|
|||||||
.itemsCallback { dialog, view, i, charSequence ->
|
.itemsCallback { dialog, view, i, charSequence ->
|
||||||
|
|
||||||
fun getUnreadChaptersSorted() = presenter.chapters
|
fun getUnreadChaptersSorted() = presenter.chapters
|
||||||
.filter { !it.read && !it.isDownloaded }
|
.filter { !it.read && it.status == Download.NOT_DOWNLOADED }
|
||||||
.distinctBy { it.name }
|
.distinctBy { it.name }
|
||||||
.sortedByDescending { it.source_order }
|
.sortedByDescending { it.source_order }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user