diff --git a/plugins/Last.fm/src/Settings.tsx b/plugins/Last.fm/src/Settings.tsx index a0126e0..128defd 100644 --- a/plugins/Last.fm/src/Settings.tsx +++ b/plugins/Last.fm/src/Settings.tsx @@ -30,7 +30,6 @@ function UpdateButton() { return UPDATE ; - } export default function Settings() { diff --git a/plugins/RichPresence/src/ConfigEditor.tsx b/plugins/RichPresence/src/ConfigEditor.tsx index 7fd77f4..8345f55 100644 --- a/plugins/RichPresence/src/ConfigEditor.tsx +++ b/plugins/RichPresence/src/ConfigEditor.tsx @@ -1,13 +1,18 @@ + +import { findByProps, findByStoreName } from "@vendetta/metro"; import { React, stylesheet } from "@vendetta/metro/common"; import { storage } from "@vendetta/plugin"; import { useProxy } from "@vendetta/storage"; import { semanticColors } from "@vendetta/ui"; -import { Forms } from "@vendetta/ui/components"; +import { Button, Forms } from "@vendetta/ui/components"; import { ScrollView } from "react-native"; const { FormSection, FormInput, FormRow, FormSwitch, FormText } = Forms; +const UserStore = findByStoreName("UserStore"); +const profiles = findByProps("showUserProfile"); + const styles = stylesheet.createThemedStyleSheet({ subText: { fontSize: 14, @@ -25,6 +30,16 @@ export default function ConfigEditor({ selection }: { selection: string }) { return ( +