Fixed catalogue downloading chapters
This commit is contained in:
parent
39b1f53b58
commit
65071dc01e
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Reference in a new issue