fix: reset subtitle, viewpoints

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-02 15:26:05 +08:00
parent 64ff4e0d5c
commit 3d7583e010

View File

@@ -1582,6 +1582,9 @@ class VideoDetailController extends GetxController
int vttSubtitlesIndex = 0;
void _getSubtitle() {
_vttSubtitles.clear();
vttSubtitlesIndex = 0;
viewPointList.clear();
_querySubtitles().then((value) {
if (_vttSubtitles.isNotEmpty) {
String preference = setting.get(