From 3b3da90c44967712fbceaa86393505451d206676 Mon Sep 17 00:00:00 2001 From: fawn Date: Sat, 12 Aug 2023 03:14:07 +0300 Subject: [PATCH] feat(VencordToolbox): add quickcss toggle (#1604) Co-authored-by: V --- src/plugins/vencordToolbox/index.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/plugins/vencordToolbox/index.tsx b/src/plugins/vencordToolbox/index.tsx index ab05d7b..dd2cc11 100644 --- a/src/plugins/vencordToolbox/index.tsx +++ b/src/plugins/vencordToolbox/index.tsx @@ -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} /> + { + Settings.useQuickCss = !Settings.useQuickCss; + onClose(); + }} + />