.navigationBarHidden(true) will not work with this code.
iOS 14.5
two conditions in ChildView
- @Environment(.presentationMode) (line 20)
- .navigationBarItems() (line 28 ... 32)
then .navigationBarHidden(true)
(line 43 in GrandChildView) will not work