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

update examples to use cross-platform SafeAreaView #4231

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

Simek
Copy link
Collaborator

@Simek Simek commented Sep 26, 2024

Why & How

Update most of the unversioned examples to use cross-platform SafeAreaView, perform multiple tweaks and fixes to the existing code.

Not every evample really needed the safe area container, but at the end for most of them, there is a value, so I have updated almost all examples to relay on SafeAreaView, unless there is concrete reason to not wrap the code.

Preview

Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit f7eeaa1
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/66f567c4df1db300089fa10b
😎 Deploy Preview https://deploy-preview-4231--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Simek Simek marked this pull request as ready for review September 26, 2024 14:05
@alanleedev
Copy link

@Simek @cortinico It seems the updated example code is not reflected in Deploy Preview link above. Is there some additional step that is missing?

@Simek
Copy link
Collaborator Author

Simek commented Sep 27, 2024

I have update only unversioned files, so to see the changes you need to select "Next" from the versions dropdown:

Copy link

@alanleedev alanleedev left a comment

Choose a reason for hiding this comment

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

Thanks for working on this and help migrating away from SafeAreaView.

@Simek Simek merged commit af0a5ab into main Sep 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants