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/api | |
parent | 516f8c488ab70519361e5732546ac579c56ef3ab (diff) | |
download | Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.tar.gz Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.tar.bz2 Vencord-86eacea74d754f67e660f3ea7fd988a2444ea3cf.zip |
Make ReactDevTools Opt-in
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/settings.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/settings.ts b/src/api/settings.ts index 51bec1d..0f2356f 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -3,9 +3,10 @@ import IpcEvents from "../utils/IpcEvents"; import { React } from "../webpack/common"; import { mergeDefaults } from "../utils/misc"; -interface Settings { +export interface Settings { notifyAboutUpdates: boolean; useQuickCss: boolean; + enableReactDevtools: boolean; plugins: { [plugin: string]: { enabled: boolean; @@ -17,6 +18,7 @@ interface Settings { const DefaultSettings: Settings = { notifyAboutUpdates: true, useQuickCss: true, + enableReactDevtools: false, plugins: {} }; |