mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 15:48:05 +00:00
Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: sarendsen <coding-mosses0z@icloud.com> Co-authored-by: Lance Chant <13349722+lancechant@users.noreply.github.com> Co-authored-by: Gauvain <68083474+Gauvino@users.noreply.github.com>
36 lines
929 B
TypeScript
36 lines
929 B
TypeScript
import { useRouter } from "expo-router";
|
|
import { useTranslation } from "react-i18next";
|
|
import { View } from "react-native";
|
|
import { useSettings } from "@/utils/atoms/settings";
|
|
import { ListGroup } from "../list/ListGroup";
|
|
import { ListItem } from "../list/ListItem";
|
|
|
|
export const PluginSettings = () => {
|
|
const { settings } = useSettings();
|
|
|
|
const router = useRouter();
|
|
|
|
const { t } = useTranslation();
|
|
|
|
if (!settings) return null;
|
|
return (
|
|
<View className='mt-4'>
|
|
<ListGroup
|
|
title={t("home.settings.plugins.plugins_title")}
|
|
className='mb-4'
|
|
>
|
|
<ListItem
|
|
onPress={() => router.push("/settings/jellyseerr/page")}
|
|
title={"Jellyseerr"}
|
|
showArrow
|
|
/>
|
|
<ListItem
|
|
onPress={() => router.push("/settings/marlin-search/page")}
|
|
title='Marlin Search'
|
|
showArrow
|
|
/>
|
|
</ListGroup>
|
|
</View>
|
|
);
|
|
};
|