From 2586e4c9d31437dc0c6535ed292dcd84509164f7 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:19:33 -0600 Subject: [PATCH] Update CaptionsView.tsx --- .../player/atoms/settings/CaptionsView.tsx | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/player/atoms/settings/CaptionsView.tsx b/src/components/player/atoms/settings/CaptionsView.tsx index af8e11ea..0101b0bd 100644 --- a/src/components/player/atoms/settings/CaptionsView.tsx +++ b/src/components/player/atoms/settings/CaptionsView.tsx @@ -434,11 +434,6 @@ export function CaptionsView({ )} - {/* Search input */} -
- -
- {/* Off button */} + {/* Search input */} + {(sourceCaptions.length || externalCaptions.length) > 0 && ( +
+ +
+ )} + {/* No subtitles available message */} {!isLoadingExternalSubtitles && sourceCaptions.length === 0 && externalCaptions.length === 0 && ( -
+
{t("player.menus.subtitles.empty")}
@@ -464,7 +466,7 @@ export function CaptionsView({ {/* Loading external subtitles */} {isLoadingExternalSubtitles && externalCaptions.length === 0 && ( -
+
{t("player.menus.subtitles.loadingExternal")}