Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3493082
D6137.id20502.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
866 B
Referenced Files
None
Subscribers
None
D6137.id20502.diff
View Options
diff --git a/native/navigation/community-drawer-content.react.js b/native/navigation/community-drawer-content.react.js
--- a/native/navigation/community-drawer-content.react.js
+++ b/native/navigation/community-drawer-content.react.js
@@ -1,7 +1,7 @@
// @flow
import * as React from 'react';
-import { FlatList } from 'react-native';
+import { FlatList, Platform } from 'react-native';
import { SafeAreaView } from 'react-native-safe-area-context';
import { useSelector } from 'react-redux';
@@ -18,7 +18,10 @@
import CommunityDrawerItemCommunity from './community-drawer-item-cummunity.react';
const maxDepth = 2;
-const safeAreaEdges = ['top'];
+const safeAreaEdges = Platform.select({
+ ios: ['top'],
+ default: ['top', 'bottom'],
+});
function CommunityDrawerContent(): React.Node {
const communities = useSelector(communityThreadSelector);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 2:02 AM (18 h, 17 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679162
Default Alt Text
D6137.id20502.diff (866 B)
Attached To
Mode
D6137: [native] Fix android bottom navigation bar ovelapping with drawer content
Attached
Detach File
Event Timeline
Log In to Comment