Skip to content

Commit b45ce69

Browse files
authored
Dialog - Header - fix knob's color (#2819)
1 parent 9678873 commit b45ce69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/incubator/Dialog/DialogHeader.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const DialogHeader = (props: DialogHeaderProps = {}) => {
3030

3131
const knob = useMemo(() => {
3232
if (showKnob) {
33-
return <View style={styles.knob}/>;
33+
return <View style={[styles.knob, {backgroundColor: Colors.$outlineDefault}]}/>;
3434
}
3535
}, [showKnob]);
3636

@@ -102,7 +102,6 @@ const styles = StyleSheet.create({
102102
height: Spacings.s1,
103103
marginTop: Spacings.s2,
104104
marginBottom: Spacings.s2,
105-
backgroundColor: Colors.$outlineDefault,
106105
borderRadius: BorderRadiuses.br10
107106
}
108107
});

0 commit comments

Comments
 (0)