import { storage } from "@vendetta/plugin"; import { useProxy } from "@vendetta/storage"; import { React, ReactNative as RN } 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"; const { FormSwitchRow, FormRow } = Forms; export default function ImageSettingsPage() { useProxy(storage); const [, forceUpdate] = React.useReducer((x) => x + 1, 0); return ( } value={storage.enabledCommands.petpet} onValueChange={(v) => { storage.enabledCommands.petpet = v; storage.pendingRestart = true; forceUpdate(); }} /> } value={storage.enabledCommands.konoself} onValueChange={(v) => { storage.enabledCommands.konoself = v; storage.pendingRestart = true; forceUpdate(); }} /> } value={storage.enabledCommands.konosend} onValueChange={(v) => { storage.enabledCommands.konosend = v; storage.pendingRestart = true; forceUpdate(); }} /> ); }