aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-10-11 21:48:28 +0200
committerVendicated <vendicated@riseup.net>2022-10-11 21:48:28 +0200
commit86eacea74d754f67e660f3ea7fd988a2444ea3cf (patch)
treeeed2a4eb4b5feee0eca9c9ef88d525c8c56080d2 /src/api
parent516f8c488ab70519361e5732546ac579c56ef3ab (diff)
downloadVencord-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.ts4
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: {}
};