fix: Attempt to solve GH-40

This commit is contained in:
ziro 2024-02-23 10:04:28 +07:00
parent 9644b71e57
commit d24d6da950
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -398,7 +398,7 @@ class LibraryUpdateJob(private val context: Context, workerParams: WorkerParamet
var hasDownloads = false
ensureActive()
notifier.showProgressNotification(manga, progress, mangaToUpdate.size)
val fetchedChapters = source.getChapterList(manga)
val fetchedChapters = source.getChapterList(manga.copy())
if (fetchedChapters.isNotEmpty()) {
val newChapters = syncChaptersWithSource(db, fetchedChapters, manga, source)