Skip to content

Commit

Permalink
fix: allows header style overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
winterdouglas authored and e-younan committed Oct 14, 2024
1 parent 3bcec8b commit fc8ffc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/headers/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Header: React.FC<HeaderProps> = ({
<View>
{SurfaceComponent && SurfaceComponent({ showNavBar })}

<View style={[styles.container, headerStyle, !ignoreTopSafeArea && { paddingTop: top }]}>
<View style={[styles.container, !ignoreTopSafeArea && { paddingTop: top }, headerStyle]}>
{headerLeftFadesIn ? (
<FadingView
opacity={showNavBar}
Expand Down

0 comments on commit fc8ffc5

Please sign in to comment.