Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds an indeterminate state to canPush #11

Conversation

johnpatrickmorgan
Copy link
Owner

@johnpatrickmorgan johnpatrickmorgan commented Jan 6, 2022

This PR:

  • Adds an indeterminate state to canPush, to allow for cases where a parent coordinator might be responsible for the NavigationView. It makes the canPush assertion a little less useful, but avoids wrongfully asserting when the routes array is managed by a child coordinator that is being pushed onto a parent's stack (Route.root should probably use .push instead of .sheet #10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant