mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Revert changes of the name for AndroidHorizontalScrollView
Summary: This diff reverts the changes in the name for AndroidHorizontalScrollView and AndroidHorizontalScrollContentView that caused a redbox for continuous OTA users Reviewed By: fkgozali Differential Revision: D9561972 fbshipit-source-id: 3d8e9ee8bb6081107bc8d315af16885bb003148e
This commit is contained in:
committed by
Facebook Github Bot
parent
685b15679f
commit
eb225fa173
@@ -47,10 +47,10 @@ let RCTScrollContentView;
|
||||
if (Platform.OS === 'android') {
|
||||
AndroidScrollView = requireNativeComponent('RCTScrollView');
|
||||
AndroidHorizontalScrollView = requireNativeComponent(
|
||||
'RCTAndroidHorizontalScrollView',
|
||||
'AndroidHorizontalScrollView',
|
||||
);
|
||||
AndroidHorizontalScrollContentView = requireNativeComponent(
|
||||
'RCTAndroidHorizontalScrollContentView',
|
||||
'AndroidHorizontalScrollContentView',
|
||||
);
|
||||
} else if (Platform.OS === 'ios') {
|
||||
RCTScrollView = requireNativeComponent('RCTScrollView');
|
||||
|
||||
Reference in New Issue
Block a user