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

feat: lateinit layout calculations for insets #172

Merged
merged 7 commits into from
Apr 2, 2024

Conversation

jpudysz
Copy link
Owner

@jpudysz jpudysz commented Apr 2, 2024

Summary

Android devices with a notch (cutout) could receive two initial events regarding the insets. This occurred because currentActivity was null when Unistyles was calculating insets for UnistylesRuntime. This update should resolve the issue 💪

Copy link

vercel bot commented Apr 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-unistyles-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 3:02pm

@jpudysz jpudysz changed the title feat: latinit layout calulations feat: latinit layout calculations for insets Apr 2, 2024
@jpudysz jpudysz changed the title feat: latinit layout calculations for insets feat: lateinit layout calculations for insets Apr 2, 2024
@jpudysz jpudysz merged commit 96a4805 into main Apr 2, 2024
3 checks passed
@jpudysz jpudysz deleted the feature/platform-lateinit branch April 2, 2024 15:02
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