Fix bug in default category downloading logic (#7525)
(cherry picked from commit 86a018ebad5f43c691c688fd87528738de09d684)
This commit is contained in:
parent
c77b69ed10
commit
bb7dd4e2f6
@ -53,7 +53,7 @@ fun Manga.removeCovers(coverCache: CoverCache = Injekt.get()): Int {
|
|||||||
fun DomainManga.shouldDownloadNewChapters(dbCategories: List<Long>, prefs: PreferencesHelper): Boolean {
|
fun DomainManga.shouldDownloadNewChapters(dbCategories: List<Long>, prefs: PreferencesHelper): Boolean {
|
||||||
if (!favorite) return false
|
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.
|
// Boolean to determine if user wants to automatically download new chapters.
|
||||||
val downloadNewChapter = prefs.downloadNewChapter().get()
|
val downloadNewChapter = prefs.downloadNewChapter().get()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user