fix offline crash

This commit is contained in:
rebelonion 2024-02-04 03:13:15 -06:00
parent 300f2c2fb0
commit d80b250650
3 changed files with 36 additions and 65 deletions

View file

@ -184,7 +184,9 @@ open class MangaReadFragment : Fragment(), ScanlatorSelectionListener {
MangaChapterAdapter(style ?: PrefManager.getVal(PrefName.MangaDefaultView), media, this)
for (download in downloadManager.mangaDownloadedTypes) {
chapterAdapter.stopDownload(download.chapter)
if (download.title == media.mainName()) {
chapterAdapter.stopDownload(download.chapter)
}
}
binding.animeSourceRecycler.adapter =