mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 09:43:25 +00:00
fix: search button css on ios is a round boi now
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { 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";
|
||||||
@@ -55,11 +56,9 @@ export default function TabLayout() {
|
|||||||
title: "Search",
|
title: "Search",
|
||||||
tabBarLabel: "",
|
tabBarLabel: "",
|
||||||
tabBarIcon: () => (
|
tabBarIcon: () => (
|
||||||
<TabBarIcon
|
<View className="android:top-2 ios:top-2 flex h-14 w-14 items-center justify-center overflow-hidden rounded-full bg-primary-400 text-center align-middle text-2xl text-white">
|
||||||
className="flex aspect-[1/1] h-14 items-center justify-center rounded-full bg-primary-400 text-center align-middle text-2xl text-white"
|
<TabBarIcon name="search" color="#FFF" />
|
||||||
name="search"
|
</View>
|
||||||
color="#FFF"
|
|
||||||
/>
|
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user