fix: vttSubtitlesIndex

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-01-06 17:26:28 +08:00
parent 5001f3b6d2
commit b239737498
2 changed files with 7 additions and 5 deletions

View File

@@ -719,7 +719,7 @@ class VideoIntroController extends GetxController
}
final int currentIndex =
episodes.indexWhere((e) => e.cid == lastPlayCid.value);
episodes.indexWhere((e) => e.cid == videoDetailCtr.cid.value);
int nextIndex = currentIndex + 1;
if (videoDetailCtr.isPlayAll && currentIndex == episodes.length - 2) {