From 68ab994798a0931ade004bc38cb743b532806849 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Thu, 16 Apr 2026 06:59:46 +0200 Subject: [PATCH] Drop redundant navigation titles in tvOS Open URL and Remote Control The sidebar decoration added by TVSidebarDetailContainer already shows the screen title, so the navigation title would duplicate it on tvOS. --- Yattee/Views/Home/OpenLinkSheet.swift | 2 ++ Yattee/Views/Navigation/UnifiedTabView.swift | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Yattee/Views/Home/OpenLinkSheet.swift b/Yattee/Views/Home/OpenLinkSheet.swift index e9e4ebf8..80b7ce90 100644 --- a/Yattee/Views/Home/OpenLinkSheet.swift +++ b/Yattee/Views/Home/OpenLinkSheet.swift @@ -112,7 +112,9 @@ struct OpenLinkFormView: View { actionButtonsSection yatteeServerWarningSection } + #if !os(tvOS) .navigationTitle(String(localized: "openLink.title")) + #endif #if os(iOS) .navigationBarTitleDisplayMode(.inline) .scrollDismissesKeyboard(.immediately) diff --git a/Yattee/Views/Navigation/UnifiedTabView.swift b/Yattee/Views/Navigation/UnifiedTabView.swift index f86526eb..3409e5c7 100644 --- a/Yattee/Views/Navigation/UnifiedTabView.swift +++ b/Yattee/Views/Navigation/UnifiedTabView.swift @@ -772,7 +772,6 @@ struct UnifiedTabView: View { title: SidebarItem.remoteControl.title ) { RemoteControlContentView(navigationStyle: .link) - .navigationTitle(String(localized: "remoteControl.title")) } .withNavigationDestinations() }