mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 09:44:55 +03:00
Download next N chapters now excludes the ones enqueued. #556
This commit is contained in:
parent
a0064a1699
commit
d10bf45283
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue