diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-03-01 01:26:13 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 05:26:13 +0100 |
commit | faa90eccd363b635b84be2162376645d6a83ad55 (patch) | |
tree | 01473b58f52a54c2dc08234a51a20f0069487981 /src/api/settings.ts | |
parent | c91b0df6071639471cd41b481e7188259a3c1159 (diff) | |
download | Vencord-faa90eccd363b635b84be2162376645d6a83ad55.tar.gz Vencord-faa90eccd363b635b84be2162376645d6a83ad55.tar.bz2 Vencord-faa90eccd363b635b84be2162376645d6a83ad55.zip |
feat: Crash Handler (#531)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/api/settings.ts')
-rw-r--r-- | src/api/settings.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/settings.ts b/src/api/settings.ts index d05afcd..c551df0 100644 --- a/src/api/settings.ts +++ b/src/api/settings.ts @@ -92,7 +92,7 @@ function makeProxy(settings: any, root = settings, path = ""): Settings { // Return empty for plugins with no settings if (path === "plugins" && p in plugins) return target[p] = makeProxy({ - enabled: plugins[p].required ?? false + enabled: plugins[p].required ?? plugins[p].enabledByDefault ?? false }, root, `plugins.${p}`); // Since the property is not set, check if this is a plugin's setting and if so, try to resolve |