diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultViewModel2.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultViewModel2.kt index 972fd914..e3b54117 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultViewModel2.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/result/ResultViewModel2.kt @@ -2477,7 +2477,7 @@ class ResultViewModel2 : ViewModel() { // restore range based on resume details currentRanges[currentIndex]?.first { - it.endEpisode >= (resume.episode ?: 0) + it.endEpisode >= resume.episode ?: 0 }?.apply { changeRange(this) }