I got an EnvironmentObject named appState, which is accessed through some of my views to share data / states. The way I use them in a view is like this:
struc