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: simplify fade_from_bottom animation code on iOS #1307

Conversation

kacperkapusciak
Copy link
Member

@kacperkapusciak kacperkapusciak commented Feb 8, 2022

Description

This PR simplifies code in animateFadeFromBottomWithTransitionContext method by using constants rather than an inline enum. Also, removes redundant variables by inlining the calculated values.

Checklist

  • Ensured that CI passes

Copy link
Member

@tomekzaw tomekzaw left a comment

Choose a reason for hiding this comment

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

🪨 🇪🇹

@kacperkapusciak kacperkapusciak merged commit 6c6cfd3 into main Feb 8, 2022
@kacperkapusciak kacperkapusciak deleted the @kaceprkapusciak/improve-ios-transition-duration-fade-from-bottom branch February 8, 2022 13:40
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.

2 participants