feat(Settings): Allow moving Vencord section to different places

This commit is contained in:
Vendicated 2022-12-01 03:38:17 +01:00
parent f94cbfb2f4
commit 734054ff68
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
2 changed files with 40 additions and 3 deletions

View file

@ -22,7 +22,7 @@ import DonateButton from "@components/DonateButton";
import ErrorBoundary from "@components/ErrorBoundary";
import IpcEvents from "@utils/IpcEvents";
import { useAwaiter } from "@utils/misc";
import { Button, Card, Forms, React, Switch } from "@webpack/common";
import { Button, Card, Forms, Margins, React, Switch } from "@webpack/common";
const st = (style: string) => `vcSettings${style}`;
@ -81,6 +81,9 @@ function VencordSettings() {
<Forms.FormDivider />
<Forms.FormSection title="Settings">
<Forms.FormText className={Margins.marginBottom20}>
Hint: You can change the position of this settings section in the settings of the "Settings" plugin!
</Forms.FormText>
<Switch
value={settings.useQuickCss}
onChange={(v: boolean) => settings.useQuickCss = v}