fix(download): Apply filtering when fetching chapters for download (#1134)

This commit is contained in:
Cuong-Tran 2025-09-10 12:30:21 +07:00 committed by GitHub
parent 8f2ab5b87e
commit 89fb6ab753
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,9 +43,9 @@ class FilterChaptersForDownload(
// SY -->
val existingChapters = if (manga.source == MERGED_SOURCE_ID) {
getMergedChaptersByMangaId.await(manga.id)
getMergedChaptersByMangaId.await(manga.id, /* KMK --> */ applyFilter = true /* KMK <-- */)
} else {
getChaptersByMangaId.await(manga.id)
getChaptersByMangaId.await(manga.id, /* KMK --> */ applyFilter = true /* KMK <-- */)
}
val readChapterNumbers = existingChapters