Skip to content

Commit

Permalink
Merge pull request #47 from VampireChicken12/dev
Browse files Browse the repository at this point in the history
fix: player speed setting not showing in select
  • Loading branch information
VampireChicken12 authored Oct 4, 2023
2 parents f65e335 + 4590420 commit afb7997
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && (
<div className="w-fit h-fit bg-[#f5f5f5] text-black dark:bg-[#181a1b] dark:text-white">
Expand Down Expand Up @@ -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"}
Expand Down

0 comments on commit afb7997

Please sign in to comment.