Download next N chapters now excludes the ones enqueued. #556

This commit is contained in:
len 2016-12-02 20:37:55 +01:00
parent a0064a1699
commit d10bf45283

View file

@ -267,7 +267,7 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac
.itemsCallback { dialog, view, i, charSequence ->
fun getUnreadChaptersSorted() = presenter.chapters
.filter { !it.read && !it.isDownloaded }
.filter { !it.read && it.status == Download.NOT_DOWNLOADED }
.distinctBy { it.name }
.sortedByDescending { it.source_order }