mirror of
https://github.com/yattee/yattee.git
synced 2025-11-25 18:58:21 +00:00
Subscribe/unsubscribe channels
This commit is contained in:
@@ -49,7 +49,7 @@ struct AppSidebarNavigation: View {
|
||||
SubscriptionsView()
|
||||
}
|
||||
label: {
|
||||
Label("Subscriptions", systemImage: "play.rectangle.fill")
|
||||
Label("Subscriptions", systemImage: "star.circle.fill")
|
||||
.accessibility(label: Text("Subscriptions"))
|
||||
}
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ struct AppTabNavigation: View {
|
||||
SubscriptionsView()
|
||||
}
|
||||
.tabItem {
|
||||
Label("Subscriptions", systemImage: "play.rectangle.fill")
|
||||
Label("Subscriptions", systemImage: "star.circle.fill")
|
||||
.accessibility(label: Text("Subscriptions"))
|
||||
}
|
||||
.tag(TabSelection.subscriptions)
|
||||
|
||||
@@ -4,6 +4,7 @@ struct ContentView: View {
|
||||
@StateObject private var navigationState = NavigationState()
|
||||
@StateObject private var playbackState = PlaybackState()
|
||||
@StateObject private var searchState = SearchState()
|
||||
@StateObject private var subscriptions = Subscriptions()
|
||||
|
||||
#if os(iOS)
|
||||
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
|
||||
@@ -40,6 +41,7 @@ struct ContentView: View {
|
||||
.environmentObject(navigationState)
|
||||
.environmentObject(playbackState)
|
||||
.environmentObject(searchState)
|
||||
.environmentObject(subscriptions)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user