diff --git a/src/core/ui/settings/pages/Plugins/index.tsx b/src/core/ui/settings/pages/Plugins/index.tsx index fc1e9c1c..f49f4af4 100644 --- a/src/core/ui/settings/pages/Plugins/index.tsx +++ b/src/core/ui/settings/pages/Plugins/index.tsx @@ -11,9 +11,9 @@ import { lazyDestructure } from "@lib/utils/lazy"; import { Author } from "@lib/utils/types"; import { findByProps } from "@metro"; import { NavigationNative } from "@metro/common"; -import { Button, Card, FlashList, Text } from "@metro/common/components"; +import { Button, Card, FlashList, IconButton, Stack, Text } from "@metro/common/components"; import { ComponentProps } from "react"; -import { View } from "react-native"; +import { Image, View } from "react-native"; import unifyVdPlugin from "./models/vendetta"; @@ -35,13 +35,6 @@ export interface UnifiedPluginModel { const { openAlert } = lazyDestructure(() => findByProps("openAlert", "dismissAlert")); const { AlertModal, AlertActions, AlertActionButton } = lazyDestructure(() => findByProps("AlertModal", "AlertActions")); -function navigateToPluginBrowser(navigation: any) { - navigation.push("BUNNY_CUSTOM_PAGE", { - title: "Plugin Browser", - render: React.lazy(() => import("../PluginBrowser")), - }); -} - interface PluginPageProps extends Partial>> { useItems: () => unknown[]; } @@ -80,32 +73,37 @@ export default function Plugins() { const unproxiedPlugins = Object.values(VdPluginManager.plugins).filter(p => !p.id.startsWith(VD_PROXY_PREFIX) && !p.id.startsWith(BUNNY_PROXY_PREFIX)); if (!unproxiedPlugins.length) return null; - // TODO: Make this dismissable - return - Unproxied Plugins Detected - Installed plugins from unproxied sources may execute unreviewed code in this app without your knowledge. - -