From 459042084c0c771e9e9324f83c8bf5effc292ebe Mon Sep 17 00:00:00 2001 From: VampireChicken12 Date: Wed, 4 Oct 2023 17:26:24 -0400 Subject: [PATCH] fix: player speed setting not showing in select --- src/components/Settings/Settings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index b0701cb6..13de9795 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -264,6 +264,7 @@ export default function Settings({ addNotification("success", "Settings exported successfully"); } }; + // TODO: add "default player mode" setting (theater, fullscreen, etc.) feature return ( settings && (
@@ -446,7 +447,7 @@ export default function Settings({ id="player_speed" onChange={setValueOption("player_speed")} options={YouTubePlayerSpeedOptions} - selectedOption={selectedPlayerSpeed} + selectedOption={selectedPlayerSpeed?.toString()} setSelectedOption={setSelectedPlayerSpeed} label="Player speed" disabled={settings.enable_forced_playback_speed.toString() !== "true"}