mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-24 05:38:01 +03:00
Fix bug in default category downloading logic (#7525)
This commit is contained in:
parent
ba93060e59
commit
86a018ebad
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ fun Manga.removeCovers(coverCache: CoverCache = Injekt.get()): Int {
|
|||
fun DomainManga.shouldDownloadNewChapters(dbCategories: List<Long>, 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()
|
||||
|
|
Loading…
Reference in a new issue