`struct ViewsContainer: View {
@State var currentView = "Feed"
@EnvironmentObject private var session:SessionStore
var body: some View {
VStack {
TabView() {//TabView
//MARK: Feed
Feed(finishedLoading: $session.finishedLoading).tabItem {
Label("Feed", systemImage: "house")
}.zIndex(1)
//End Feed
//MARK: Crew
Crew().tabItem {
Label("Crew", systemImage: "person.3")
}.zIndex(1)
//End Crew
//MARK: MapView
MapView().tabItem {
Label("Map", systemImage: "map")
}.zIndex(1)
//End Map
//MARK: Fitness
Fitness().tabItem {
Label("Fitness", systemImage: "figure.walk.circle")
}.zIndex(1)
//End Fitness
//MARK: Settings
Profile().tabItem {
Label("Profile", systemImage: "person").symbolRenderingMode(.monochrome)
}.zIndex(1)
//End Settings
}// End of TabView
.accentColor(Color("PrimaryColor"))
.zIndex(1)
}// End of VStack
}// End of body
}`