mirror of
https://github.com/yattee/yattee.git
synced 2026-11-03 02:17:19 +00:00
Fix white text in video info view under the light tvOS color scheme
The video title and TVScrollableDescription hardcoded white text, which was unreadable on light backgrounds. Description colors now adapt to the color scheme by default; the player details panel opts back into white via overlaysDarkBackground since it always sits over a dark backdrop.
This commit is contained in:
@@ -623,7 +623,7 @@ struct VideoInfoView: View {
|
||||
Text(video.displayTitle(using: appEnvironment?.deArrowBrandingProvider))
|
||||
.font(.title3)
|
||||
.fontWeight(.semibold)
|
||||
.foregroundStyle(.white)
|
||||
.foregroundStyle(.primary)
|
||||
.fixedSize(horizontal: false, vertical: true)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user