fix discord experiments setting

pull/88/head
dperolio 3 years ago
parent b1049f8445
commit 996a8568d5

@ -117,7 +117,7 @@
"no-shadow-restricted-names": [ "warn" ],
"no-undef": [ "warn" ],
"no-undef-init": [ "warn" ],
"no-unused-vars": [ "warn" ],
"no-unused-vars": [ "warn", { "argsIgnorePattern": "^_" } ],
"no-use-before-define": [ "warn" ],
"callback-return": [ "warn" ],
"handle-callback-err": [ "warn" ],

@ -110,7 +110,7 @@ export default class Settings extends Builtin {
try {
const experimentsModule = getModule(r => r.isDeveloper !== void 0);
Object.defineProperty(experimentsModule, 'isDeveloper', {
get: () => vizality.settings.get('experiments', false)
get: () => vizality.settings.get('discordExperiments', false)
});
// Ensure components do get the update

Loading…
Cancel
Save