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:
parent
685b15679f
commit
eb225fa173
|
@ -47,10 +47,10 @@ let RCTScrollContentView;
|
||||||
if (Platform.OS === 'android') {
|
if (Platform.OS === 'android') {
|
||||||
AndroidScrollView = requireNativeComponent('RCTScrollView');
|
AndroidScrollView = requireNativeComponent('RCTScrollView');
|
||||||
AndroidHorizontalScrollView = requireNativeComponent(
|
AndroidHorizontalScrollView = requireNativeComponent(
|
||||||
'RCTAndroidHorizontalScrollView',
|
'AndroidHorizontalScrollView',
|
||||||
);
|
);
|
||||||
AndroidHorizontalScrollContentView = requireNativeComponent(
|
AndroidHorizontalScrollContentView = requireNativeComponent(
|
||||||
'RCTAndroidHorizontalScrollContentView',
|
'AndroidHorizontalScrollContentView',
|
||||||
);
|
);
|
||||||
} else if (Platform.OS === 'ios') {
|
} else if (Platform.OS === 'ios') {
|
||||||
RCTScrollView = requireNativeComponent('RCTScrollView');
|
RCTScrollView = requireNativeComponent('RCTScrollView');
|
||||||
|
|
|
@ -14,7 +14,7 @@ import com.facebook.react.uimanager.ViewGroupManager;
|
||||||
public class ReactHorizontalScrollContainerViewManager
|
public class ReactHorizontalScrollContainerViewManager
|
||||||
extends ViewGroupManager<ReactHorizontalScrollContainerView> {
|
extends ViewGroupManager<ReactHorizontalScrollContainerView> {
|
||||||
|
|
||||||
protected static final String REACT_CLASS = "RCTAndroidHorizontalScrollContentView";
|
protected static final String REACT_CLASS = "AndroidHorizontalScrollContentView";
|
||||||
|
|
||||||
public ReactHorizontalScrollContainerViewManager() {}
|
public ReactHorizontalScrollContainerViewManager() {}
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class ReactHorizontalScrollViewManager
|
||||||
extends ViewGroupManager<ReactHorizontalScrollView>
|
extends ViewGroupManager<ReactHorizontalScrollView>
|
||||||
implements ReactScrollViewCommandHelper.ScrollCommandHandler<ReactHorizontalScrollView> {
|
implements ReactScrollViewCommandHelper.ScrollCommandHandler<ReactHorizontalScrollView> {
|
||||||
|
|
||||||
protected static final String REACT_CLASS = "RCTAndroidHorizontalScrollView";
|
protected static final String REACT_CLASS = "AndroidHorizontalScrollView";
|
||||||
|
|
||||||
private static final int[] SPACING_TYPES = {
|
private static final int[] SPACING_TYPES = {
|
||||||
Spacing.ALL, Spacing.LEFT, Spacing.RIGHT, Spacing.TOP, Spacing.BOTTOM,
|
Spacing.ALL, Spacing.LEFT, Spacing.RIGHT, Spacing.TOP, Spacing.BOTTOM,
|
||||||
|
|
Loading…
Reference in New Issue