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

Fix destination animations being ignored #900

Merged
merged 3 commits into from
Dec 2, 2021

Conversation

jbw0033
Copy link
Collaborator

@jbw0033 jbw0033 commented Dec 1, 2021

Adding destination custom animations to the animation maps to ensure
they are considered when selecting the final animation.

Fixes #882

Adding destination custom animations to the animation maps to ensure
they are considered when selecting the final animation.

Fixes google#882
Copy link
Collaborator

@ianhanniballake ianhanniballake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this change, we no longer need to store the transitions on the AnimatedComposeNavigator.Destination class, right? Please remove those fields if we no longer need them.

We no longer need the animation variables on
AnimatedComposeNavigator.Destination.
@jbw0033
Copy link
Collaborator Author

jbw0033 commented Dec 2, 2021

Removed them.

Destinations no longer take animations so we shouldn't be passing them.
@jbw0033 jbw0033 merged commit 475cde6 into google:main Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression: NavHost ignores the user specified transition animation.
2 participants