Page MenuHomePhorge

D5424.1765060688.diff
No OneTemporary

Size
4 KB
Referenced Files
None
Subscribers
None

D5424.1765060688.diff

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}

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 6, 10:38 PM (11 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5840961
Default Alt Text
D5424.1765060688.diff (4 KB)

Event Timeline