We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe5b93 commit 2860a47Copy full SHA for 2860a47
src/components/common/custom-bottom-bar/BottomBar.tsx
@@ -1,5 +1,4 @@
1
import { type BottomTabBarProps } from '@react-navigation/bottom-tabs';
2
-import { useSafeAreaInsets } from 'react-native-safe-area-context';
3
4
import { type TabList } from '~app/(tabs)/_layout';
5
import { styled } from '~styles';
@@ -22,10 +21,8 @@ export function BottomBar({
22
21
navigation,
23
tabs,
24
}: CustomTabBarProps) {
25
- const insets = useSafeAreaInsets();
26
-
27
return (
28
- <TabBarContainer style={{ paddingBottom: insets.bottom }}>
+ <TabBarContainer>
29
{state.routes.map((route, index) => {
30
if (EXCLUDED_ROUTES.includes(route.name)) return null;
31
0 commit comments