Skip to content

Commit d490137

Browse files
fix(settings): guard .navigationLink pickerStyle behind !os(tvOS)
NavigationLinkPickerStyle is unavailable on tvOS; use .automatic there. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e66b7db commit d490137

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PVUI/Sources/PVSwiftUI/Settings/SettingsSwiftUI.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,11 @@ private struct VideoSection: View {
18871887
icon: .sfSymbol(scalingMode.symbolName),
18881888
showChevron: false)
18891889
}
1890+
#if os(tvOS)
1891+
.pickerStyle(.automatic)
1892+
#else
18901893
.pickerStyle(.navigationLink)
1894+
#endif
18911895
ThemedToggle(isOn: $imageSmoothing) {
18921896
SettingsRow(title: "Image Smoothing",
18931897
subtitle: "Smooth scaled graphics. Off for sharp pixels.",

0 commit comments

Comments
 (0)