fix: toggling ssubtitles not working

This commit is contained in:
Prayag Prajapati committed 2024-11-15 21:00:55 +05:30
1 parent d641ddfc98
commit 24e07df249
2 files changed
+17 -5

No files matched your search

+1 -1
View File
@@ -279,7 +279,7 @@ export const changeSubtitleTrack = (
track: trackIndex,
format: requiredSubtitle?.[0]?.Codec,
allTracks,
enable: true,
enable: trackIndex !== -1,
};
usePlaybackStore.setState(prevState);
};