chore: use platform select here as well

This commit is contained in:
Adrian Castro
2024-02-15 23:22:38 +01:00
parent 1676bc71d3
commit ff3bd54fcd

View File

@@ -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: {