From f973e55a51a8afcf4381299bf77411b9bd811be3 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 25 Jul 2024 22:12:45 -0400 Subject: [PATCH] Closer Match --- src/equicordplugins/customAppIcons/index.tsx | 91 -------------------- src/plugins/showConnections/index.tsx | 2 +- 2 files changed, 1 insertion(+), 92 deletions(-) delete mode 100644 src/equicordplugins/customAppIcons/index.tsx diff --git a/src/equicordplugins/customAppIcons/index.tsx b/src/equicordplugins/customAppIcons/index.tsx deleted file mode 100644 index 0339c688..00000000 --- a/src/equicordplugins/customAppIcons/index.tsx +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Vencord, a Discord client mod - * Copyright (c) 2024 Vendicated and contributors - * SPDX-License-Identifier: GPL-3.0-or-later - */ - -import { definePluginSettings } from "@api/Settings"; -import { CodeBlock } from "@components/CodeBlock"; -import { Devs, EquicordDevs } from "@utils/constants"; -import definePlugin, { OptionType, PluginSettingComponentDef } from "@utils/types"; -import { Forms, React, TextArea } from "@webpack/common"; - -type Icon = { - id: string, - iconSource: string, - isPremium: boolean, - name: string, -}; - -const settings = definePluginSettings({ - icons: { - description: "Icons to add", - type: OptionType.COMPONENT, - restartNeeded: true, - component: iconSettingsComponent - } -}); - -function iconSettingsComponent(props: Parameters[0]) { - const [state, setState] = React.useState(settings.store.icons ?? ""); - - function handleChange(newValue: string) { - setState(newValue); - props.setValue(newValue); - } - - return - Icons - The icons you want to add. - -