hide player settings button when not playing

This commit is contained in:
Pas 2025-10-28 12:28:52 -06:00
parent 1ab1b34187
commit 51a8f3a7a1

View file

@ -180,9 +180,11 @@ export function PlayerPart(props: PlayerPartProps) {
) : null}
{status === playerStatus.PLAYBACK_ERROR ||
status === playerStatus.PLAYING ? (
<Player.Captions />
<>
<Player.Captions />
<Player.Settings />
</>
) : null}
<Player.Settings />
{/* Fullscreen on when not shifting */}
{!isShifting && <Player.Fullscreen />}
@ -203,11 +205,13 @@ export function PlayerPart(props: PlayerPartProps) {
)}
<Player.Episodes inControl={inControl} />
{status === playerStatus.PLAYING ? (
<div className="hidden ssm:block">
<Player.Captions />
</div>
<>
<div className="hidden ssm:block">
<Player.Captions />
</div>
<Player.Settings />
</>
) : null}
<Player.Settings />
</div>
<div>
{status === playerStatus.PLAYING && (