From 272ea0fe4b262f9b203001c3d16dd815dbf0e3e8 Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 5 Jun 2020 23:45:47 +0200 Subject: [PATCH] Fix: Fix a bug with settings not being initialized properly. --- source/ts/utilities.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ts/utilities.ts b/source/ts/utilities.ts index 6670be2..d7b12d9 100644 --- a/source/ts/utilities.ts +++ b/source/ts/utilities.ts @@ -65,7 +65,7 @@ export async function getSettings(): Promise { data: {...defaultSettings.data, ...syncSettings.data}, features: {...defaultSettings.features, ...syncSettings.features} }; - debug = syncSettings.features.debug; + debug = settings.features.debug; // If we're in development, force debug output. if (getManifest().nodeEnv === 'development') { debug = true;