From 86a018ebad5f43c691c688fd87528738de09d684 Mon Sep 17 00:00:00 2001 From: Trevor Paley <10186337+TheUnlocked@users.noreply.github.com> Date: Wed, 13 Jul 2022 06:18:17 -0700 Subject: [PATCH] Fix bug in default category downloading logic (#7525) --- app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt index fb08a6e8ce..b2358b7f57 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/MangaExtensions.kt @@ -53,7 +53,7 @@ fun Manga.removeCovers(coverCache: CoverCache = Injekt.get()): Int { fun DomainManga.shouldDownloadNewChapters(dbCategories: List, prefs: PreferencesHelper): Boolean { if (!favorite) return false - val categories = dbCategories.ifEmpty { listOf(0) } + val categories = dbCategories.ifEmpty { listOf(0L) } // Boolean to determine if user wants to automatically download new chapters. val downloadNewChapter = prefs.downloadNewChapter().get()