mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Extract getViewportOffset out RootView
Summary: This diff moves the method getViewportOffset out of ReactRootView. This is necessary to avoid Fabric to depend from paper. changelog: [internal] internal Reviewed By: JoshuaGross Differential Revision: D26716901 fbshipit-source-id: cec67c24860a776fb361d7cda08d3142e1214c8c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
21a434ceec
commit
05f687fa88
@@ -91,6 +91,7 @@ public class Binding {
|
||||
jsMessageQueueThread,
|
||||
componentFactory,
|
||||
reactNativeConfig);
|
||||
|
||||
setPixelDensity(PixelUtil.getDisplayMetricDensity());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user