Skip to content

Commit

Permalink
fix(player/react): default auto quality checkbox resets
Browse files Browse the repository at this point in the history
  • Loading branch information
mihar-22 committed Mar 31, 2024
1 parent 6e9a9b1 commit 1ad5321
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ function DefaultAutoQualityMenuCheckbox() {

return (
<DefaultMenuItem label={label}>
<DefaultMenuCheckbox label={label} checked={$autoQuality} onChange={onChange} />
<DefaultMenuCheckbox
label={label}
checked={$autoQuality}
onChange={onChange}
defaultChecked={$autoQuality}
/>
</DefaultMenuItem>
);
}
Expand Down

0 comments on commit 1ad5321

Please sign in to comment.