mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
99f706e5df
Summary: Changelog: [Internal] in this diff, we add a function that allows us to retrieve screen scale. enforcing thread safety will be dependent on the consumer to make sure it's used on main thread. i'd like for this to be a more temporary solution, i think we should have a more scalable screen solution for consumers to handle the gambit of uiscreen use cases. Reviewed By: sammy-SC Differential Revision: D31163909 fbshipit-source-id: 78104e9ef982b47c60697461141afb4b06eede72