Revert hide settings button when not playing

This commit is contained in:
Pas 2025-11-03 22:49:12 -07:00 committed by GitHub
parent 1a5b55fcb5
commit 9e1aa5e9a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,11 +179,9 @@ export function PlayerPart(props: PlayerPartProps) {
) : null}
{status === playerStatus.PLAYBACK_ERROR ||
status === playerStatus.PLAYING ? (
<>
<Player.Captions />
<Player.Settings />
</>
<Player.Captions />
) : null}
<Player.Settings />
{isShifting || isHoldingFullscreen ? (
<Player.Widescreen />
) : (
@ -200,13 +198,11 @@ export function PlayerPart(props: PlayerPartProps) {
)}
<Player.Episodes inControl={inControl} />
{status === playerStatus.PLAYING ? (
<>
<div className="hidden ssm:block">
<Player.Captions />
</div>
<Player.Settings />
</>
<div className="hidden ssm:block">
<Player.Captions />
</div>
) : null}
<Player.Settings />
</div>
<div>
{status === playerStatus.PLAYING && (