mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
## Note this is early stages of said integration. Things will change! series and season working - added jellyseerr git submodule - augmentations - working jellyseerr search integration - working jellyseerr requests & updated interceptors to persist cookies from every response
39 lines
1.1 KiB
TypeScript
39 lines
1.1 KiB
TypeScript
import {commonScreenOptions, nestedTabPageScreenOptions} from "@/components/stacks/NestedTabPageStack";
|
|
import { Stack } from "expo-router";
|
|
import { Platform } from "react-native";
|
|
|
|
export default function SearchLayout() {
|
|
return (
|
|
<Stack>
|
|
<Stack.Screen
|
|
name="index"
|
|
options={{
|
|
headerShown: true,
|
|
headerLargeTitle: true,
|
|
headerTitle: "Search",
|
|
headerBlurEffect: "prominent",
|
|
headerTransparent: Platform.OS === "ios" ? true : false,
|
|
headerShadowVisible: false,
|
|
}}
|
|
/>
|
|
{Object.entries(nestedTabPageScreenOptions).map(([name, options]) => (
|
|
<Stack.Screen key={name} name={name} options={options} />
|
|
))}
|
|
<Stack.Screen
|
|
name="collections/[collectionId]"
|
|
options={{
|
|
title: "",
|
|
headerShown: true,
|
|
headerBlurEffect: "prominent",
|
|
headerTransparent: Platform.OS === "ios" ? true : false,
|
|
headerShadowVisible: false,
|
|
}}
|
|
/>
|
|
<Stack.Screen
|
|
name="jellyseerr/page"
|
|
options={commonScreenOptions}
|
|
/>
|
|
</Stack>
|
|
);
|
|
}
|