.onDisappear is never called.
Also, when I put an .onAppear in a main view and navigate back to that view, the .onAppear is not called.
.onDisappear is never called.
Also, when I put an .onAppear in a main view and navigate back to that view, the .onAppear is not called.
Update: .onDisappear does work if one is working within a view, but it doesn't work when navigating out of a view.