Posts

Post not yet marked as solved
4 Replies
I had the same issue, in modal view you have to pass the einvoriment object again it does not inherits like in navigation view.I dont know if it's a bug but this will fix you problem:When uou presenting your modal view, just passa again the einvoirment like so:PresentationButton(Text("add list view"), destination: AddListView().environmentObject(Object()))