Skip to content

Commit 7212a77

Browse files
committed
fix: fix BarVisualizer not respecting barBorderRadius option
1 parent a74c941 commit 7212a77

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

src/components/BarVisualizer.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,7 @@ export const BarVisualizer = ({
160160
bars.push(
161161
<Animated.View
162162
key={index}
163-
style={[
164-
{ height: `${coercedPercent}%` },
165-
barStyle,
166-
styles.volumeIndicator,
167-
]}
163+
style={[{ height: `${coercedPercent}%` }, barStyle]}
168164
/>
169165
);
170166
});
@@ -177,9 +173,6 @@ const styles = StyleSheet.create({
177173
alignItems: 'center',
178174
justifyContent: 'space-evenly',
179175
},
180-
volumeIndicator: {
181-
borderRadius: 12,
182-
},
183176
});
184177

185178
export const useBarAnimator = (

0 commit comments

Comments
 (0)