mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
only add bottom padding on ios
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { View } from "react-native";
|
import { Platform, View } from "react-native";
|
||||||
import { Tabs } from "expo-router";
|
import { Tabs } from "expo-router";
|
||||||
|
|
||||||
import Colors from "@movie-web/tailwind-config/colors";
|
import Colors from "@movie-web/tailwind-config/colors";
|
||||||
@@ -19,7 +19,7 @@ export default function TabLayout() {
|
|||||||
borderTopColor: "transparent",
|
borderTopColor: "transparent",
|
||||||
borderTopRightRadius: 20,
|
borderTopRightRadius: 20,
|
||||||
borderTopLeftRadius: 20,
|
borderTopLeftRadius: 20,
|
||||||
paddingBottom: 100,
|
paddingBottom: Platform.OS === "ios" ? 100 : 0,
|
||||||
height: 80,
|
height: 80,
|
||||||
},
|
},
|
||||||
tabBarItemStyle: {
|
tabBarItemStyle: {
|
||||||
|
Reference in New Issue
Block a user