From 39a04ba7a45fdfa365bb95b5ba02c4bc0caf5f0d Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Tue, 14 Apr 2026 02:35:38 +0200 Subject: [PATCH] Hide Home shortcuts on tvOS --- Yattee/Views/Home/HomeSettingsView.swift | 2 ++ Yattee/Views/Home/HomeView.swift | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Yattee/Views/Home/HomeSettingsView.swift b/Yattee/Views/Home/HomeSettingsView.swift index db7d71eb..20e2f658 100644 --- a/Yattee/Views/Home/HomeSettingsView.swift +++ b/Yattee/Views/Home/HomeSettingsView.swift @@ -31,8 +31,10 @@ struct HomeSettingsView: View { var body: some View { List { + #if !os(tvOS) shortcutsSection availableShortcutsSection + #endif sectionsSection availableSectionsSection itemsLimitSection diff --git a/Yattee/Views/Home/HomeView.swift b/Yattee/Views/Home/HomeView.swift index c1fc4502..83504576 100644 --- a/Yattee/Views/Home/HomeView.swift +++ b/Yattee/Views/Home/HomeView.swift @@ -188,9 +188,11 @@ struct HomeView: View { @ViewBuilder private var homeContent: some View { + #if !os(tvOS) if hasVisibleShortcuts { shortcutsSection } + #endif ForEach(settingsManager?.visibleSections() ?? HomeSectionItem.defaultOrder.filter { HomeSectionItem.defaultVisibility[$0] == true }) { section in sectionView(for: section)