mirror of
https://github.com/yattee/yattee.git
synced 2026-06-04 22:04:19 +00:00
Use glass background for tvOS player settings sheet
Match the info/comments and queue panels by replacing the black dim and inner rounded card with a full-screen ultraThinMaterial backdrop and a transparent list background on tvOS.
This commit is contained in:
@@ -206,7 +206,11 @@ extension QualitySelectorView {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
#if os(tvOS)
|
||||
.background(Color.clear)
|
||||
#else
|
||||
.background(ListBackgroundStyle.grouped.color)
|
||||
#endif
|
||||
.navigationTitle(String(localized: "player.quality.video"))
|
||||
#if os(iOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
@@ -221,7 +225,11 @@ extension QualitySelectorView {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
#if os(tvOS)
|
||||
.background(Color.clear)
|
||||
#else
|
||||
.background(ListBackgroundStyle.grouped.color)
|
||||
#endif
|
||||
.navigationTitle(String(localized: "stream.audio"))
|
||||
#if os(iOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
@@ -236,7 +244,11 @@ extension QualitySelectorView {
|
||||
}
|
||||
.padding()
|
||||
}
|
||||
#if os(tvOS)
|
||||
.background(Color.clear)
|
||||
#else
|
||||
.background(ListBackgroundStyle.grouped.color)
|
||||
#endif
|
||||
.navigationTitle(String(localized: "stream.subtitles"))
|
||||
#if os(iOS)
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
|
||||
Reference in New Issue
Block a user