diff --git a/apps/frontend-mobile/app/(tabs)/_layout.tsx b/apps/frontend-mobile/app/(tabs)/_layout.tsx index fc4334c..33f4eca 100644 --- a/apps/frontend-mobile/app/(tabs)/_layout.tsx +++ b/apps/frontend-mobile/app/(tabs)/_layout.tsx @@ -1,6 +1,7 @@ import { Tabs } from 'expo-router'; import { Ionicons } from '@expo/vector-icons'; import { View, StyleSheet, Platform } from 'react-native'; +import { useSafeAreaInsets } from 'react-native-safe-area-context'; import { colors, shadows } from '../../constants/theme'; function ScanIcon({ color, size }: { color: string; size: number }) { @@ -14,12 +15,19 @@ function ScanIcon({ color, size }: { color: string; size: number }) { } export default function TabLayout() { + const insets = useSafeAreaInsets(); + const bottomPadding = Platform.OS === 'ios' ? insets.bottom : 8; + return ( - - - - - - - - - - - + + + + + + + + + + + + + ); }