File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
app/src/main/java/eu/kanade/tachiyomi/ui/player/loader Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import eu.kanade.tachiyomi.animesource.model.Hoster
66import eu.kanade.tachiyomi.animesource.model.Hoster.Companion.toHosterList
77import eu.kanade.tachiyomi.animesource.model.Video
88import eu.kanade.tachiyomi.animesource.online.AnimeHttpSource
9+ import eu.kanade.tachiyomi.animesource.online.ParsedAnimeHttpSource
910import eu.kanade.tachiyomi.data.download.anime.AnimeDownloadManager
1011import eu.kanade.tachiyomi.ui.player.controls.components.sheets.HosterState
1112import kotlinx.coroutines.CancellationException
@@ -59,7 +60,10 @@ class EpisodeLoader {
5960 private fun checkHasHosters (source : AnimeHttpSource ): Boolean {
6061 var current: Class <in AnimeHttpSource > = source.javaClass
6162 while (true ) {
62- if (current == AnimeHttpSource ::class .java) {
63+ if (current == ParsedAnimeHttpSource ::class .java ||
64+ current == AnimeHttpSource ::class .java ||
65+ current == AnimeSource ::class .java
66+ ) {
6367 return false
6468 }
6569 if (current.declaredMethods.any {
You can’t perform that action at this time.
0 commit comments