From 235a6998db3ee5a3ce0a2c7007ba1593225aaee7 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Mon, 10 Nov 2025 12:32:40 -0700 Subject: [PATCH] show check for pasted subtitle option --- .../player/atoms/settings/CaptionsView.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/components/player/atoms/settings/CaptionsView.tsx b/src/components/player/atoms/settings/CaptionsView.tsx index a406031e..a9ff591c 100644 --- a/src/components/player/atoms/settings/CaptionsView.tsx +++ b/src/components/player/atoms/settings/CaptionsView.tsx @@ -227,7 +227,7 @@ export function CustomCaptionOption() { ); } -export function PasteCaptionOption() { +export function PasteCaptionOption(props: { selected?: boolean }) { const { t } = useTranslation(); const setCaption = usePlayerStore((s) => s.setCaption); const setCustomSubs = useSubtitleStore((s) => s.setCustomSubs); @@ -267,7 +267,7 @@ export function PasteCaptionOption() { setCaption({ language: parsedData.language, srtData: converted, - id: parsedData.id, + id: "pasted-caption", }); setCustomSubs(); @@ -286,7 +286,12 @@ export function PasteCaptionOption() { }; return ( - + {t("player.menus.subtitles.pasteChoice")} ); @@ -532,7 +537,9 @@ export function CaptionsView({ {/* Paste subtitle option */} - +