File tree Expand file tree Collapse file tree 3 files changed +2
-26
lines changed
Expand file tree Collapse file tree 3 files changed +2
-26
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,13 @@ import { ThemedView } from '@/components/themed-view'
99import { Collapsible } from '@/components/ui/collapsible'
1010import { WebBadge } from '@/components/web-badge'
1111import { MaxContentWidth , Spacing } from '@/constants/theme'
12- import { useBottomTabInset } from '@/hooks/use-bottom-tab-inset'
1312import { useTheme } from '@/hooks/use-theme'
1413
1514export default function TabTwoScreen ( ) {
1615 const safeAreaInsets = useSafeAreaInsets ( )
17- const { full : bottomTabInset } = useBottomTabInset ( )
1816 const insets = {
1917 ...safeAreaInsets ,
20- bottom : bottomTabInset + Spacing . three ,
18+ bottom : safeAreaInsets . bottom + Spacing . three ,
2119 }
2220 const theme = useTheme ( )
2321
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import { ThemedText } from '@/components/themed-text'
88import { ThemedView } from '@/components/themed-view'
99import { WebBadge } from '@/components/web-badge'
1010import { MaxContentWidth , Spacing } from '@/constants/theme'
11- import { useBottomTabInset } from '@/hooks/use-bottom-tab-inset'
1211
1312function getDevMenuHint ( ) {
1413 if ( Platform . OS === 'web' ) return < ThemedText type = "small" > use browser devtools</ ThemedText >
@@ -29,10 +28,9 @@ function getDevMenuHint() {
2928}
3029
3130export default function HomeScreen ( ) {
32- const { tabBarOnly } = useBottomTabInset ( )
3331 return (
3432 < ThemedView style = { styles . container } >
35- < SafeAreaView style = { [ styles . safeArea , { paddingBottom : tabBarOnly + Spacing . three } ] } >
33+ < SafeAreaView style = { [ styles . safeArea , { paddingBottom : Spacing . three } ] } >
3634 < ThemedView style = { styles . heroSection } >
3735 < AnimatedIcon />
3836 < ThemedText type = "title" style = { styles . title } >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments