Fix visibility of Subscriptions tab navigation item on tvOS

This commit is contained in:
Arkadiusz Fal 2021-12-19 17:08:48 +01:00
parent b6e1f8148c
commit 4793fc9a38

View File

@ -17,7 +17,7 @@ struct TVNavigationView: View {
.tag(TabSelection.favorites)
}
if visibleSections.contains(.subscriptions), accounts.app.supportsSubscriptions {
if visibleSections.contains(.subscriptions), accounts.app.supportsSubscriptions, accounts.api.signedIn {
SubscriptionsView()
.tabItem { Text("Subscriptions") }
.tag(TabSelection.subscriptions)