From 10bd7d09aff61c5e02195092280de17be1573f88 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 8 May 2026 19:03:35 +0200 Subject: [PATCH] Use black icons on focused tvOS player control buttons for legibility --- Yattee/Views/Player/tvOS/TVPlayerControlsView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Yattee/Views/Player/tvOS/TVPlayerControlsView.swift b/Yattee/Views/Player/tvOS/TVPlayerControlsView.swift index b3ea88c1..5699a0f0 100644 --- a/Yattee/Views/Player/tvOS/TVPlayerControlsView.swift +++ b/Yattee/Views/Player/tvOS/TVPlayerControlsView.swift @@ -348,7 +348,7 @@ struct TVActionButtonStyle: ButtonStyle { func makeBody(configuration: Configuration) -> some View { configuration.label - .foregroundStyle(.white) + .foregroundStyle(isFocused ? Color.black : .white) .lineLimit(1) .minimumScaleFactor(0.8) .padding(.horizontal, 20) @@ -391,7 +391,7 @@ struct TVCloseButtonStyle: ButtonStyle { func makeBody(configuration: Configuration) -> some View { configuration.label - .foregroundStyle(.white) + .foregroundStyle(isFocused ? Color.black : .white) .frame(width: 64, height: 64) .glassBackground( isFocused ? .tinted(.white.opacity(0.35)) : .regular,