Skip to content

Commit

Permalink
fix: fix regression in Appbar.Header statusBarHeight (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamui545 authored Jul 4, 2022
1 parent 7461463 commit 17976c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Appbar/AppbarHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const AppbarHeader = ({
backgroundColor,
zIndex,
elevation,
paddingTop: statusBarHeight || APPROX_STATUSBAR_HEIGHT,
paddingTop: statusBarHeight ?? APPROX_STATUSBAR_HEIGHT,
},
shadow(elevation),
] as StyleProp<ViewStyle>
Expand Down

0 comments on commit 17976c4

Please sign in to comment.