Skip to content

Commit 7253e0e

Browse files
committed
fix: remove unnecessary code
1 parent 9a3dde4 commit 7253e0e

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

js/SegmentedControl.js

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

0 commit comments

Comments
 (0)