feat(VencordToolbox): add quickcss toggle (#1604)

Co-authored-by: V <vendicated@riseup.net>
main
fawn 1 year ago committed by GitHub
parent c79e065d09
commit 3b3da90c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -19,6 +19,7 @@
import "./index.css";
import { openNotificationLogModal } from "@api/Notifications/notificationLog";
import { Settings } from "@api/Settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
import { LazyComponent } from "@utils/react";
@ -66,6 +67,15 @@ function VencordPopout(onClose: () => void) {
label="Open Notification Log"
action={openNotificationLogModal}
/>
<Menu.MenuCheckboxItem
id="vc-toolbox-quickcss-toggle"
checked={Settings.useQuickCss}
label={"Enable QuickCSS"}
action={() => {
Settings.useQuickCss = !Settings.useQuickCss;
onClose();
}}
/>
<Menu.MenuItem
id="vc-toolbox-quickcss"
label="Open QuickCSS"

Loading…
Cancel
Save