diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-11 21:48:28 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-11 21:48:28 +0200 |
commit | 86eacea74d754f67e660f3ea7fd988a2444ea3cf (patch) | |
tree | eed2a4eb4b5feee0eca9c9ef88d525c8c56080d2 /src/components/Settings.tsx | |
parent | 516f8c488ab70519361e5732546ac579c56ef3ab (diff) | |
download | Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.tar.gz Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.tar.bz2 Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.zip |
Make ReactDevTools Opt-in
Diffstat (limited to 'src/components/Settings.tsx')
-rw-r--r-- | src/components/Settings.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index 7756902..6c5b501 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -100,11 +100,18 @@ export default ErrorBoundary.wrap(function Settings() { <Switch value={settings.useQuickCss} onChange={(v: boolean) => settings.useQuickCss = v} - note="Enable QuickCSS" + note="Loads styles from your QuickCss file" > Use QuickCss </Switch> {!IS_WEB && <Switch + value={settings.enableReactDevtools} + onChange={(v: boolean) => settings.enableReactDevtools = v} + note="Requires a full restart" + > + Enable React Developer Tools + </Switch>} + {!IS_WEB && <Switch value={settings.notifyAboutUpdates} onChange={(v: boolean) => settings.notifyAboutUpdates = v} note="Shows a Toast on StartUp" |