downloads showing for all media fix

This commit is contained in:
rebelonion 2024-01-17 23:40:14 -06:00
parent 5459908201
commit 26b6564825
2 changed files with 19 additions and 4 deletions

View file

@ -527,7 +527,9 @@ class AnimeWatchFragment : Fragment() {
episodeAdapter.updateType(style ?: uiSettings.animeDefaultView)
episodeAdapter.notifyItemRangeInserted(0, arr.size)
for (download in downloadManager.animeDownloadedTypes) {
episodeAdapter.stopDownload(download.chapter)
if (download.title == media.mainName()) {
episodeAdapter.stopDownload(download.chapter)
}
}
}