diff --git a/src/components/CustomStatusBar/index.tsx b/src/components/CustomStatusBar/index.tsx index b9d47cacd65a..2a8b15642307 100644 --- a/src/components/CustomStatusBar/index.tsx +++ b/src/components/CustomStatusBar/index.tsx @@ -65,7 +65,7 @@ const CustomStatusBar: CustomStatusBarType = ({isNested = false}) => { }, [isDisabled, theme.PAGE_THEMES, theme.appBG, theme.statusBarStyle]); useEffect(() => { - navigationRef.addListener('state', navigationStateListener); + navigationRef.addListener('state', updateStatusBarStyle); return () => navigationRef.removeListener('state', navigationStateListener); }, [navigationStateListener]);