DownloadProvider: Only provide necessary info and not whole chapter/manga class (#7411)

This commit is contained in:
AntsyLich
2022-06-30 19:20:55 +06:00
committed by GitHub
parent 388dc2f103
commit e1525a5125
10 changed files with 83 additions and 61 deletions
@@ -121,7 +121,7 @@ class UpdatesPresenter : BasePresenter<UpdatesController>() {
val manga = item.manga
val chapter = item.chapter
if (downloadManager.isChapterDownloaded(chapter, manga)) {
if (downloadManager.isChapterDownloaded(chapter.name, chapter.scanlator, manga.title, manga.source)) {
item.status = Download.State.DOWNLOADED
}
}