mirror of
https://github.com/yattee/yattee.git
synced 2026-05-13 02:45:03 +00:00
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:
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user