Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32883971
D6137.1768160244.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
966 B
Referenced Files
None
Subscribers
None
D6137.1768160244.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';
@@ -79,8 +79,11 @@
[childThreadInfosMap, communitiesSuffixed, labelStyles],
);
+ const safeAreaEdgesOSDependent =
+ Platform.OS === 'android' ? [...safeAreaEdges, 'bottom'] : safeAreaEdges;
+
return (
- <SafeAreaView style={styles.drawerContent} edges={safeAreaEdges}>
+ <SafeAreaView style={styles.drawerContent} edges={safeAreaEdgesOSDependent}>
<FlatList data={drawerItemsData} renderItem={renderItem} />
</SafeAreaView>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 11, 7:37 PM (12 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5920062
Default Alt Text
D6137.1768160244.diff (966 B)
Attached To
Mode
D6137: [native] Fix android bottom navigation bar ovelapping with drawer content
Attached
Detach File
Event Timeline
Log In to Comment