From 65071dc01ea8a54fd445f3bb392dd10c7faf7a0e Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 1 May 2020 15:55:32 -0400 Subject: [PATCH] Fixed catalogue downloading chapters --- .../java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt index 8820b2d55e..d424a5561c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaDetailsPresenter.kt @@ -416,7 +416,7 @@ class MangaDetailsPresenter( val downloadNew = preferences.downloadNew().getOrDefault() val categoriesToDownload = preferences.downloadNewCategories().getOrDefault().map(String::toInt) - val shouldDownload = + val shouldDownload = !controller.fromCatalogue && (downloadNew && (categoriesToDownload.isEmpty() || getMangaCategoryIds().any { it in categoriesToDownload })) if (shouldDownload) { downloadChapters(newChapters.first.sortedBy { it.chapter_number }