Playback state improvements

This commit is contained in:
Arkadiusz Fal
2021-08-23 23:31:51 +02:00
parent f80b61f9c7
commit 151121aa31
11 changed files with 55 additions and 27 deletions

View File

@@ -2,6 +2,7 @@ import SwiftUI
struct ContentView: View {
@StateObject private var navigationState = NavigationState()
@StateObject private var playbackState = PlaybackState()
@StateObject private var searchState = SearchState()
#if os(iOS)
@@ -37,6 +38,7 @@ struct ContentView: View {
}
#endif
.environmentObject(navigationState)
.environmentObject(playbackState)
.environmentObject(searchState)
}
}