mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
@@ -13,10 +13,10 @@ struct TVNavigationView: View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
TabView(selection: navigation.tabSelectionBinding) {
|
||||
if visibleSections.contains(.favorites) {
|
||||
LazyView(FavoritesView())
|
||||
.tabItem { Text("Favorites") }
|
||||
.tag(TabSelection.favorites)
|
||||
if visibleSections.contains(.home) {
|
||||
LazyView(HomeView())
|
||||
.tabItem { Text("Home") }
|
||||
.tag(TabSelection.home)
|
||||
}
|
||||
|
||||
if visibleSections.contains(.subscriptions), accounts.app.supportsSubscriptions, accounts.api.signedIn {
|
||||
|
Reference in New Issue
Block a user