Content-Length: 275862 | pFad | https://github.com/NativeScript/NativeScript/issues/10528

768 fix(android): Add null check on Android transition by asharghi · Pull Request #10528 · NativeScript/NativeScript · GitHub
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(android): Add null check on Android transition #10528

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

asharghi
Copy link
Contributor

PR Checklist

@cla-bot cla-bot bot added the cla: yes label Apr 24, 2024
Copy link

@SeanKelly369 SeanKelly369 left a comment

Choose a reason for hiding this comment

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

Looks good. I can't see any potential null pointer exceptions.

@vallemar
Copy link
Contributor

vallemar commented Apr 24, 2024

@asharghi I see that state is used later in the method. https://github.com/NativeScript/NativeScript/pull/10528/files#diff-b8d0f1a2f61cebd65f19eb6a02409e959992ce5f82d11bc1d44507b3d9f86f65R229-R233

Will this cause errors here or am I wrong?

@asharghi
Copy link
Contributor Author

@asharghi I see that state is used later in the method. https://github.com/NativeScript/NativeScript/pull/10528/files#diff-b8d0f1a2f61cebd65f19eb6a02409e959992ce5f82d11bc1d44507b3d9f86f65R229-R233

Will this cause errors here or am I wrong?

isNumber(pageEnd?.duration) would return false so pageEnd won't be used after that. I think it will be fine.

@NathanWalker NathanWalker merged commit 632a348 into NativeScript:main Apr 24, 2024
3 checks passed
@asharghi asharghi deleted the patch-1 branch April 25, 2024 22:29
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.

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/issues/10528

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy