mirror of
https://github.com/yattee/yattee.git
synced 2025-08-09 20:24:06 +00:00
Subscribe/unsubscribe channels
This commit is contained in:
@@ -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