import { storage } from "@vendetta/plugin"; import { useProxy } from "@vendetta/storage"; import { React, ReactNative as RN, stylesheet } from "@vendetta/metro/common"; import { NavigationNative } from "@vendetta/metro/common"; import { semanticColors } from "@vendetta/ui"; import { getAssetIDByName } from "@vendetta/ui/assets"; import { Forms } from "@vendetta/ui/components"; import BetterTableRowGroup from "../components/BetterTableRowGroup"; import NekosLifeCategoriesPage from "./NekosLifeCategoriesPage"; const { FormSwitchRow, FormRow } = Forms; export default function AliucordPage() { useProxy(storage); const [, forceUpdate] = React.useReducer((x) => x + 1, 0); const navigation = NavigationNative.useNavigation(); return ( } value={storage.enabledCommands.ip} onValueChange={(v) => { storage.enabledCommands.ip = v; storage.pendingRestart = true; forceUpdate(); }} /> } value={storage.enabledCommands.nekoslife} onValueChange={(v) => { storage.enabledCommands.nekoslife = v; storage.pendingRestart = true; forceUpdate(); }} /> } trailing={} onPress={() => navigation.push("VendettaCustomPage", { title: "NekosLife Categories", render: NekosLifeCategoriesPage, }) } /> ); }