mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 17:43:25 +00:00
refactor: unmerge home and search tabs
This commit is contained in:
@@ -25,7 +25,7 @@ export default function TabLayout() {
|
||||
tabPress: () => {
|
||||
void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
|
||||
switch (route.name) {
|
||||
case "search":
|
||||
case "index":
|
||||
focusSearchInputRef.current();
|
||||
break;
|
||||
}
|
||||
@@ -79,7 +79,7 @@ export default function TabLayout() {
|
||||
<Tabs.Screen
|
||||
name="search"
|
||||
options={{
|
||||
title: "Home",
|
||||
title: "Search",
|
||||
tabBarLabel: "",
|
||||
tabBarIcon: ({ focused }) => (
|
||||
<View
|
||||
|
Reference in New Issue
Block a user