mirror of
https://github.com/yattee/yattee.git
synced 2025-09-06 07:18:25 +00:00
Fix TV navigation
This commit is contained in:
@@ -9,7 +9,6 @@ struct TVNavigationView: View {
|
|||||||
@Default(.showingAddToPlaylist) var showingAddToPlaylist
|
@Default(.showingAddToPlaylist) var showingAddToPlaylist
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
NavigationView {
|
|
||||||
TabView(selection: $navigationState.tabSelection) {
|
TabView(selection: $navigationState.tabSelection) {
|
||||||
SubscriptionsView()
|
SubscriptionsView()
|
||||||
.tabItem { Text("Subscriptions") }
|
.tabItem { Text("Subscriptions") }
|
||||||
@@ -52,7 +51,6 @@ struct TVNavigationView: View {
|
|||||||
}
|
}
|
||||||
.onPlayPauseCommand { showingOptions.toggle() }
|
.onPlayPauseCommand { showingOptions.toggle() }
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct TVNavigationView_Previews: PreviewProvider {
|
struct TVNavigationView_Previews: PreviewProvider {
|
||||||
|
Reference in New Issue
Block a user