mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
Download ahead (#7226)
This commit is contained in:
@@ -57,8 +57,8 @@ fun DomainManga.shouldDownloadNewChapters(dbCategories: List<Long>, preferences:
|
||||
val categories = dbCategories.ifEmpty { listOf(0L) }
|
||||
|
||||
// Boolean to determine if user wants to automatically download new chapters.
|
||||
val downloadNewChapter = preferences.downloadNewChapter().get()
|
||||
if (!downloadNewChapter) return false
|
||||
val downloadNewChapters = preferences.downloadNewChapters().get()
|
||||
if (!downloadNewChapters) return false
|
||||
|
||||
val includedCategories = preferences.downloadNewChapterCategories().get().map { it.toLong() }
|
||||
val excludedCategories = preferences.downloadNewChapterCategoriesExclude().get().map { it.toLong() }
|
||||
|
||||
Reference in New Issue
Block a user