iPhone Duo : Using Group { NavigationStack { ... } } ignores the vertical toolbar

Hi, I was testing my app on iPhone Duo simulator and couldn't understand why even though I am using native navigation stack and toolbars, the toolbar items are not placed on the vertical space. With some debugging I found that it's due to the Group {}

I am using Group - because I have a switch inside it where I switch between different types of views, and I insert an environment object only once in the Group {}.environment...

I recreated the issue in a clean project, here is full source code:

And the result when nesting the NavigationStack inside a Group {}. If I remove the Group, toolbar items are pushed to the vertical space as needed

iPhone Duo : Using Group { NavigationStack { ... } } ignores the vertical toolbar
 
 
Q