-
Notifications
You must be signed in to change notification settings - Fork 32
feat: properly retrieve displayScale for visionOS #23
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
Conversation
|
This PR is also reflected as a PR to Core: facebook#41214 I will remove |
matthargett
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there anything visual we can see a difference on in the tester app?
|
@matthargett I think we are close to merging this PR to core: facebook#41214 - So I think I will hold with merging this PR (I've added more extensive description there) |
|
The original PR got merged to core. I'm closing this one and will do a rebase |
Summary:
Goal of this PR is to properly retrieve
displayScalefor visionOS. It replaces usages of[[UIScreen mainScreen] scale].Changelog:
[VISIONOS] [FIXED] - properly retrieve displayScale for visionOS
Test Plan:
Check if
useWindowDimensionsHookreturns proper displayScale