From 4f763373c172219e42b62d252b5dbd3de164107d Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 8 May 2026 02:18:25 +0200 Subject: [PATCH] Fix tvOS pickers --- Yattee/Views/Subscriptions/SubscriptionsView.swift | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Yattee/Views/Subscriptions/SubscriptionsView.swift b/Yattee/Views/Subscriptions/SubscriptionsView.swift index 33e1dadd..a63e522e 100644 --- a/Yattee/Views/Subscriptions/SubscriptionsView.swift +++ b/Yattee/Views/Subscriptions/SubscriptionsView.swift @@ -333,7 +333,10 @@ struct SubscriptionsView: View { Toggle("viewOptions.showSidebar", isOn: $showSidebar) } #elseif os(tvOS) - Toggle("viewOptions.showSidebar", isOn: $showSidebar) + PlatformMenuPicker(String(localized: "viewOptions.showSidebar"), selection: $showSidebar) { + Text("common.on").tag(true) + Text("common.off").tag(false) + } #endif // Layout picker (inline menu) @@ -370,7 +373,14 @@ struct SubscriptionsView: View { #endif } + #if os(tvOS) + PlatformMenuPicker(String(localized: "viewOptions.hideWatched"), selection: $hideWatched) { + Text("common.on").tag(true) + Text("common.off").tag(false) + } + #else Toggle("viewOptions.hideWatched", isOn: $hideWatched) + #endif #if os(iOS) Picker("viewOptions.channelStrip", selection: $channelStripSize) {