Skip to content

Commit 5f451eb

Browse files
authored
Update js/SegmentedControl.js
1 parent 3568409 commit 5f451eb

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

js/SegmentedControl.js

-14
Original file line numberDiff line numberDiff line change
@@ -151,20 +151,6 @@ const SegmentedControl = ({
151151
);
152152
})}
153153
</View>
154-
{selectedIndex != null && segmentWidth ? (
155-
<Animated.View
156-
style={[
157-
styles.slider,
158-
sliderStyle,
159-
{
160-
transform: [{translateX: animation}],
161-
width: segmentWidth - 4,
162-
backgroundColor:
163-
tintColor || (colorScheme === 'dark' ? '#636366' : 'white'),
164-
},
165-
]}
166-
/>
167-
) : null}
168154
</View>
169155
);
170156
};

0 commit comments

Comments
 (0)