From d10bf4528359ac35e05641e778ae83df9ce305ae Mon Sep 17 00:00:00 2001 From: len Date: Fri, 2 Dec 2016 20:37:55 +0100 Subject: [PATCH] Download next N chapters now excludes the ones enqueued. #556 --- .../eu/kanade/tachiyomi/ui/manga/chapter/ChaptersFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersFragment.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersFragment.kt index 381bf33ce3..2fe17d0526 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersFragment.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersFragment.kt @@ -267,7 +267,7 @@ class ChaptersFragment : BaseRxFragment(), 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 }