Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32171404
D5424.1765060688.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
4 KB
Referenced Files
None
Subscribers
None
D5424.1765060688.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D5424: [native] [31/34] ReactNav6: Move lazy prop of BottomTabBarNavigator to options
Attached
Detach File
Event Timeline
Log In to Comment