From 01589becd6e5937dc185b1eee63fb5ead9fcdc4f Mon Sep 17 00:00:00 2001
From: Ivan Evans <74743263+Pasithea0@users.noreply.github.com>
Date: Sun, 29 Dec 2024 11:35:27 -0700
Subject: [PATCH] always show settings icon on player page
even if there is an error, they should be able to try other sources
---
src/pages/parts/player/PlayerPart.tsx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/pages/parts/player/PlayerPart.tsx b/src/pages/parts/player/PlayerPart.tsx
index 949c3d18..eba51132 100644
--- a/src/pages/parts/player/PlayerPart.tsx
+++ b/src/pages/parts/player/PlayerPart.tsx
@@ -172,11 +172,9 @@ export function PlayerPart(props: PlayerPartProps) {
) : null}
{status === playerStatus.PLAYBACK_ERROR ||
status === playerStatus.PLAYING ? (
- <>
-
-
- >
+
) : null}
+
{/* Fullscreen on when not shifting */}
{!isShifting && }
@@ -195,7 +193,7 @@ export function PlayerPart(props: PlayerPartProps) {
{!isIOSPWA &&
(status === playerStatus.PLAYING ? : null)}
- {status === playerStatus.PLAYING ? : null}
+
{/* Expand button for iOS PWA only */}
{isIOSPWA && status === playerStatus.PLAYING && }