diff --git a/index.js b/index.js index 82e53c54..87743a0b 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,6 @@ const { InteractionManager, } = ReactNative; -const ViewPagerAndroid = require('@react-native-community/viewpager'); const TimerMixin = require('react-timer-mixin'); const ViewPager = require('@react-native-community/viewpager'); @@ -339,7 +338,7 @@ const ScrollableTabView = createReactClass({ if (!width || width <= 0 || Math.round(width) === Math.round(this.state.containerWidth)) { return; } - + if (Platform.OS === 'ios') { const containerWidthAnimatedValue = new Animated.Value(width); // Need to call __makeNative manually to avoid a native animated bug. See