From e6ace2615f43c5bb592121d8eb71aae051bac8e3 Mon Sep 17 00:00:00 2001 From: Jorrin Date: Wed, 14 Feb 2024 15:10:52 +0100 Subject: [PATCH] only add bottom padding on ios --- apps/expo/src/app/(tabs)/_layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/expo/src/app/(tabs)/_layout.tsx b/apps/expo/src/app/(tabs)/_layout.tsx index fb721ec..2794ca8 100644 --- a/apps/expo/src/app/(tabs)/_layout.tsx +++ b/apps/expo/src/app/(tabs)/_layout.tsx @@ -1,4 +1,4 @@ -import { View } from "react-native"; +import { Platform, View } from "react-native"; import { Tabs } from "expo-router"; import Colors from "@movie-web/tailwind-config/colors"; @@ -19,7 +19,7 @@ export default function TabLayout() { borderTopColor: "transparent", borderTopRightRadius: 20, borderTopLeftRadius: 20, - paddingBottom: 100, + paddingBottom: Platform.OS === "ios" ? 100 : 0, height: 80, }, tabBarItemStyle: {