mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
25 lines
626 B
TypeScript
25 lines
626 B
TypeScript
import { Stack } from "expo-router";
|
|
import { Chromecast } from "../Chromecast";
|
|
import { HeaderBackButton } from "../common/HeaderBackButton";
|
|
|
|
const commonScreenOptions = {
|
|
title: "",
|
|
headerShown: true,
|
|
headerTransparent: true,
|
|
headerShadowVisible: false,
|
|
headerLeft: () => <HeaderBackButton />,
|
|
};
|
|
|
|
const routes = [
|
|
"actors/[actorId]",
|
|
"albums/[albumId]",
|
|
"artists/index",
|
|
"artists/[artistId]",
|
|
"collections/[collectionId]",
|
|
"items/page",
|
|
"series/[id]",
|
|
];
|
|
|
|
export const nestedTabPageScreenOptions: { [key: string]: any } =
|
|
Object.fromEntries(routes.map((route) => [route, commonScreenOptions]));
|