mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix visible tvOS sections
This commit is contained in:
parent
78ff495927
commit
66c9fa773c
@ -17,6 +17,7 @@ struct TVNavigationView: View {
|
||||
.tabItem { Text("Home") }
|
||||
.tag(TabSelection.home)
|
||||
|
||||
if !accounts.isEmpty {
|
||||
if visibleSections.contains(.subscriptions), accounts.app.supportsSubscriptions, accounts.api.signedIn {
|
||||
LazyView(SubscriptionsView())
|
||||
.tabItem { Text("Subscriptions") }
|
||||
@ -40,6 +41,7 @@ struct TVNavigationView: View {
|
||||
.tabItem { Text("Playlists") }
|
||||
.tag(TabSelection.playlists)
|
||||
}
|
||||
}
|
||||
|
||||
LazyView(NowPlayingView())
|
||||
.tabItem { Text("Now Playing") }
|
||||
|
Loading…
Reference in New Issue
Block a user