Replies: 1 comment 1 reply
-
Hi @joshrl, this does seem to be just an oversight on our part. Would you be interested in preparing a PR to fix it? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working with the
NavigationStack(path:root:destination)
initializer and am noticing that the root view parameter is not marked as@ViewBuilder
. Was this intentional? Seems like it would be beneficial to have this behave the same way as the built-inNavigationStack(path:root)
which does use@ViewBuilder
.ie.:
I tested just changing the implementation as follows, and it does seem to work, but wondering if there is a rationale for not wanting that. Happy to open a PR if this was just an oversight, but just want to be sure I'm not missing something.
Cheers,
Josh
Beta Was this translation helpful? Give feedback.
All reactions