Rename TVSettingsContainer to TVSidebarDetailContainer

The container is now used beyond settings (Open URL and Remote Control
tabs), so the name is broadened to reflect its general role as a
tvOS sidebar-decorated detail container.
This commit is contained in:
Arkadiusz Fal
2026-04-16 06:52:28 +02:00
parent 29e8d64c35
commit b8390577cc
3 changed files with 15 additions and 15 deletions

View File

@@ -752,7 +752,7 @@ struct UnifiedTabView: View {
case .openURL:
Tab(value: SidebarItem.openURL) {
NavigationStack(path: $openURLPath) {
TVSettingsContainer(
TVSidebarDetailContainer(
systemImage: SidebarItem.openURL.systemImage,
title: SidebarItem.openURL.title
) {
@@ -767,7 +767,7 @@ struct UnifiedTabView: View {
case .remoteControl:
Tab(value: SidebarItem.remoteControl) {
NavigationStack(path: $remoteControlPath) {
TVSettingsContainer(
TVSidebarDetailContainer(
systemImage: SidebarItem.remoteControl.systemImage,
title: SidebarItem.remoteControl.title
) {