Skip to content

Commit fc8ffc5

Browse files
winterdouglase-younan
authored andcommitted
fix: allows header style overriding
1 parent 3bcec8b commit fc8ffc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/headers/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Header: React.FC<HeaderProps> = ({
4444
<View>
4545
{SurfaceComponent && SurfaceComponent({ showNavBar })}
4646

47-
<View style={[styles.container, headerStyle, !ignoreTopSafeArea && { paddingTop: top }]}>
47+
<View style={[styles.container, !ignoreTopSafeArea && { paddingTop: top }, headerStyle]}>
4848
{headerLeftFadesIn ? (
4949
<FadingView
5050
opacity={showNavBar}

0 commit comments

Comments
 (0)