diff --git a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/bottom-tabs_v5.x.x.js @@ -1554,6 +1554,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1619,7 +1620,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/devtools_v5.x.x.js @@ -1554,6 +1554,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1619,7 +1620,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/flow-typed/npm/@react-navigation/elements_v1.x.x.js b/native/flow-typed/npm/@react-navigation/elements_v1.x.x.js --- a/native/flow-typed/npm/@react-navigation/elements_v1.x.x.js +++ b/native/flow-typed/npm/@react-navigation/elements_v1.x.x.js @@ -1551,6 +1551,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1616,7 +1617,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/material-top-tabs_v5.x.x.js @@ -1554,6 +1554,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1619,7 +1620,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/native_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/native_v5.x.x.js @@ -1554,6 +1554,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1619,7 +1620,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js --- a/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js +++ b/native/flow-typed/npm/@react-navigation/stack_v5.x.x.js @@ -1554,6 +1554,7 @@ +tabBarStyle: ViewStyleProp, +unmountOnBlur: boolean, +headerShown: boolean, + +lazy: boolean, |}>; /** @@ -1619,7 +1620,6 @@ declare export type BottomTabBarProps = BottomTabNavigationBuilderResult; declare type BottomTabNavigationConfig = {| - +lazy?: boolean, +tabBar?: BottomTabBarProps => React$Node, +safeAreaInsets?: $Partial<EdgeInsets>, +detachInactiveScreens?: boolean, diff --git a/native/navigation/app-navigator.react.js b/native/navigation/app-navigator.react.js --- a/native/navigation/app-navigator.react.js +++ b/native/navigation/app-navigator.react.js @@ -108,6 +108,7 @@ backgroundColor: '#0A0A0A', borderTopWidth: 1, }, + lazy: false, }; function TabNavigator() { const chatBadge = useSelector(unreadCount); @@ -127,7 +128,6 @@ return ( <Tab.Navigator initialRouteName={ChatRouteName} - lazy={false} tabBar={tabBar} backBehavior="none" screenOptions={tabBarScreenOptions}