diff --git a/apps/mobile/app/(app)/(tabs)/home/_layout.tsx b/apps/mobile/app/(app)/(tabs)/home/_layout.tsx
index 893a6c7..b1037c1 100644
--- a/apps/mobile/app/(app)/(tabs)/home/_layout.tsx
+++ b/apps/mobile/app/(app)/(tabs)/home/_layout.tsx
@@ -16,17 +16,18 @@ export default function HomeLayout() {
screenOptions={({ route }) => ({
...baseOptions,
title: tabStackScreenTitles[route.name] ?? "Home",
- headerRight: route.name === "settings" ? undefined : () => ,
+ headerRight:
+ route.name === "index" ? () => : undefined,
unstable_headerRightItems:
- route.name === "settings"
- ? undefined
- : () => [
+ route.name === "index"
+ ? () => [
{
type: "custom",
element: ,
hidesSharedBackground: true,
},
- ],
+ ]
+ : undefined,
})}
/>
)
diff --git a/apps/mobile/app/(app)/(tabs)/library/_layout.tsx b/apps/mobile/app/(app)/(tabs)/library/_layout.tsx
index c706300..7bf6ee5 100644
--- a/apps/mobile/app/(app)/(tabs)/library/_layout.tsx
+++ b/apps/mobile/app/(app)/(tabs)/library/_layout.tsx
@@ -16,17 +16,18 @@ export default function LibraryLayout() {
screenOptions={({ route }) => ({
...baseOptions,
title: tabStackScreenTitles[route.name] ?? "Library",
- headerRight: route.name === "settings" ? undefined : () => ,
+ headerRight:
+ route.name === "index" ? () => : undefined,
unstable_headerRightItems:
- route.name === "settings"
- ? undefined
- : () => [
+ route.name === "index"
+ ? () => [
{
type: "custom",
element: ,
hidesSharedBackground: true,
},
- ],
+ ]
+ : undefined,
})}
/>
)
diff --git a/apps/mobile/app/(app)/(tabs)/search/_layout.tsx b/apps/mobile/app/(app)/(tabs)/search/_layout.tsx
index a7103d1..612af11 100644
--- a/apps/mobile/app/(app)/(tabs)/search/_layout.tsx
+++ b/apps/mobile/app/(app)/(tabs)/search/_layout.tsx
@@ -16,17 +16,18 @@ export default function SearchLayout() {
screenOptions={({ route }) => ({
...baseOptions,
title: tabStackScreenTitles[route.name] ?? "Search",
- headerRight: route.name === "settings" ? undefined : () => ,
+ headerRight:
+ route.name === "index" ? () => : undefined,
unstable_headerRightItems:
- route.name === "settings"
- ? undefined
- : () => [
+ route.name === "index"
+ ? () => [
{
type: "custom",
element: ,
hidesSharedBackground: true,
},
- ],
+ ]
+ : undefined,
})}
/>
)