Page MenuHomePhabricator

D5421.id17699.diff
No OneTemporary

D5421.id17699.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
@@ -1542,6 +1542,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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
@@ -1542,6 +1542,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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
@@ -1539,6 +1539,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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
@@ -1542,6 +1542,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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
@@ -1542,6 +1542,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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
@@ -1542,6 +1542,7 @@
|}>,
+tabBarButton: BottomTabBarButtonProps => React$Node,
+unmountOnBlur: boolean,
+ +headerShown: 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,9 @@
borderTopWidth: 1,
},
};
+const tabBarScreenOptions = {
+ headerShown: false,
+};
function TabNavigator() {
const chatBadge = useSelector(unreadCount);
const isCalendarEnabled = useSelector(state => state.enabledApps.calendar);
@@ -130,6 +133,7 @@
tabBar={tabBar}
backBehavior="none"
tabBarOptions={tabBarOptions}
+ screenOptions={tabBarScreenOptions}
>
{calendarTab}
<Tab.Screen

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 4:26 AM (19 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2697695
Default Alt Text
D5421.id17699.diff (3 KB)

Event Timeline