mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
Fix tab navigation selection
This commit is contained in:
parent
fa07e47a22
commit
132eb7b064
@ -114,7 +114,7 @@ final class PlayerState: ObservableObject {
|
|||||||
logger.info("ALL assets loaded: \(stream.type), \(stream.description)")
|
logger.info("ALL assets loaded: \(stream.type), \(stream.description)")
|
||||||
|
|
||||||
playStream(stream)
|
playStream(stream)
|
||||||
|
|
||||||
if loadBest {
|
if loadBest {
|
||||||
await self.loadBestStream()
|
await self.loadBestStream()
|
||||||
}
|
}
|
||||||
|
@ -421,6 +421,7 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
37BD07BA2698AB60003EBB87 /* AppSidebarNavigation.swift */,
|
37BD07BA2698AB60003EBB87 /* AppSidebarNavigation.swift */,
|
||||||
|
37D4B0C32671614700C925CA /* AppTabNavigation.swift */,
|
||||||
37BD07B42698AA4D003EBB87 /* ContentView.swift */,
|
37BD07B42698AA4D003EBB87 /* ContentView.swift */,
|
||||||
37141672267A8E10006CA35D /* Country.swift */,
|
37141672267A8E10006CA35D /* Country.swift */,
|
||||||
372915E52687E3B900F5A35B /* Defaults.swift */,
|
372915E52687E3B900F5A35B /* Defaults.swift */,
|
||||||
@ -469,7 +470,6 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
373CFAEE2697A78B003CB2C6 /* AddToPlaylistView.swift */,
|
373CFAEE2697A78B003CB2C6 /* AddToPlaylistView.swift */,
|
||||||
37D4B0C32671614700C925CA /* AppTabNavigation.swift */,
|
|
||||||
37AAF2892673AB89007FC770 /* ChannelView.swift */,
|
37AAF2892673AB89007FC770 /* ChannelView.swift */,
|
||||||
373CFAC126966159003CB2C6 /* CoverSectionRowView.swift */,
|
373CFAC126966159003CB2C6 /* CoverSectionRowView.swift */,
|
||||||
373CFABD26966115003CB2C6 /* CoverSectionView.swift */,
|
373CFABD26966115003CB2C6 /* CoverSectionView.swift */,
|
||||||
|
@ -2,9 +2,7 @@ import Defaults
|
|||||||
import SwiftUI
|
import SwiftUI
|
||||||
|
|
||||||
struct AppTabNavigation: View {
|
struct AppTabNavigation: View {
|
||||||
@State private var showingOptions = false
|
@State private var tabSelection: TabSelection = .subscriptions
|
||||||
|
|
||||||
@State private var tabSelection: TabSelection? = .subscriptions
|
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
TabView(selection: $tabSelection) {
|
TabView(selection: $tabSelection) {
|
Loading…
Reference in New Issue
Block a user