From ff3bd54fcd48d04d1539c634758fac6f007254d2 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Thu, 15 Feb 2024 23:22:38 +0100 Subject: [PATCH] chore: use platform select here as well --- apps/expo/src/app/(tabs)/_layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/expo/src/app/(tabs)/_layout.tsx b/apps/expo/src/app/(tabs)/_layout.tsx index 4706d6e..0b598b5 100644 --- a/apps/expo/src/app/(tabs)/_layout.tsx +++ b/apps/expo/src/app/(tabs)/_layout.tsx @@ -19,7 +19,7 @@ export default function TabLayout() { borderTopColor: "transparent", borderTopRightRadius: 20, borderTopLeftRadius: 20, - paddingBottom: Platform.OS === "ios" ? 100 : 0, + paddingBottom: Platform.select({ ios: 100, android: 0 }), height: 80, }, tabBarItemStyle: {