From 6090454707b4ad0fb27b58b8d73dd1b722436bf5 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 17 Apr 2026 06:15:14 +0200 Subject: [PATCH] Use segmented picker style for tvOS grid columns count --- Yattee/Views/Components/ViewOptionsSheet.swift | 1 + Yattee/Views/Subscriptions/ManageChannelsView.swift | 1 + Yattee/Views/Subscriptions/SubscriptionsView.swift | 1 + 3 files changed, 3 insertions(+) diff --git a/Yattee/Views/Components/ViewOptionsSheet.swift b/Yattee/Views/Components/ViewOptionsSheet.swift index 726b149b..7323d549 100644 --- a/Yattee/Views/Components/ViewOptionsSheet.swift +++ b/Yattee/Views/Components/ViewOptionsSheet.swift @@ -68,6 +68,7 @@ struct ViewOptionsSheet: View { Text("\(count)").tag(count) } } + .pickerStyle(.segmented) } if let hideWatched = hideWatched { diff --git a/Yattee/Views/Subscriptions/ManageChannelsView.swift b/Yattee/Views/Subscriptions/ManageChannelsView.swift index 390eeb8d..a6465a4c 100644 --- a/Yattee/Views/Subscriptions/ManageChannelsView.swift +++ b/Yattee/Views/Subscriptions/ManageChannelsView.swift @@ -150,6 +150,7 @@ struct ManageChannelsView: View { Text("\(count)").tag(count) } } + .pickerStyle(.segmented) #else Stepper( "viewOptions.columns \(min(max(1, gridColumns), gridConfig.maxColumns))", diff --git a/Yattee/Views/Subscriptions/SubscriptionsView.swift b/Yattee/Views/Subscriptions/SubscriptionsView.swift index ddfe2f91..d831c317 100644 --- a/Yattee/Views/Subscriptions/SubscriptionsView.swift +++ b/Yattee/Views/Subscriptions/SubscriptionsView.swift @@ -299,6 +299,7 @@ struct SubscriptionsView: View { Text("\(count)").tag(count) } } + .pickerStyle(.segmented) #else Stepper( "viewOptions.columns \(min(max(1, gridColumns), gridConfig.maxColumns))",