mirror of
https://github.com/yattee/yattee.git
synced 2025-04-26 00:26:33 +00:00
Fix TV navigation
This commit is contained in:
parent
ebbc4876e2
commit
ac813490fe
@ -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") }
|
||||||
@ -53,7 +52,6 @@ struct TVNavigationView: View {
|
|||||||
.onPlayPauseCommand { showingOptions.toggle() }
|
.onPlayPauseCommand { showingOptions.toggle() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
struct TVNavigationView_Previews: PreviewProvider {
|
struct TVNavigationView_Previews: PreviewProvider {
|
||||||
static var previews: some View {
|
static var previews: some View {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user