forked from recloudstream/cloudstream
Fixed CastHelper (#879)
This commit is contained in:
parent
5f643dbe00
commit
71da2233d9
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ object CastHelper {
|
||||||
): Boolean {
|
): Boolean {
|
||||||
if (this == null) return false
|
if (this == null) return false
|
||||||
if (episodes.isEmpty()) return false
|
if (episodes.isEmpty()) return false
|
||||||
if (currentLinks.size <= currentEpisodeIndex) return false
|
if (currentEpisodeIndex >= episodes.size) return false
|
||||||
|
|
||||||
val epData = episodes[currentEpisodeIndex]
|
val epData = episodes[currentEpisodeIndex]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue