From cdfc719f9a0cdb1564bf87d2ecdd4d223379312a Mon Sep 17 00:00:00 2001 From: Emmanuel Maggion Date: Fri, 1 Jul 2022 16:45:17 +0200 Subject: [PATCH] fix: fix regression in Appbar.Header statusBarHeight --- src/components/Appbar/AppbarHeader.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Appbar/AppbarHeader.tsx b/src/components/Appbar/AppbarHeader.tsx index c918a7607f..1472e5c131 100644 --- a/src/components/Appbar/AppbarHeader.tsx +++ b/src/components/Appbar/AppbarHeader.tsx @@ -140,7 +140,7 @@ const AppbarHeader = ({ backgroundColor, zIndex, elevation, - paddingTop: statusBarHeight || APPROX_STATUSBAR_HEIGHT, + paddingTop: statusBarHeight ?? APPROX_STATUSBAR_HEIGHT, }, shadow(elevation), ] as StyleProp