honor downloadChapters (#1270)

This commit is contained in:
Cuong-Tran 2024-10-15 03:19:48 +07:00 committed by GitHub
parent 95cbb35152
commit dc88ea8f63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,7 +137,7 @@ class MergedSource : HttpSource() {
val results =
syncChaptersWithSource.await(chapterList, loadedManga, source)
if (reference.downloadChapters) {
if (downloadChapters && reference.downloadChapters) {
val chaptersToDownload = filterChaptersForDownload.await(manga, results)
if (chaptersToDownload.isNotEmpty()) {
downloadManager.downloadChapters(