From 390e00bfa7c395ffde179a71e6083c95d6865946 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sun, 14 Jul 2024 15:09:58 -0400 Subject: [PATCH] Update quickCss.ts --- src/utils/quickCss.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/quickCss.ts b/src/utils/quickCss.ts index 99f06004..c80a2f43 100644 --- a/src/utils/quickCss.ts +++ b/src/utils/quickCss.ts @@ -57,9 +57,9 @@ export async function toggle(isEnabled: boolean) { async function initThemes() { themesStyle ??= createStyle("vencord-themes"); - const { themeLinks, enabledThemes } = Settings; + const { enabledThemeLinks, enabledThemes } = Settings; - const links: string[] = [...themeLinks]; + const links: string[] = [...enabledThemeLinks]; if (IS_WEB) { for (const theme of enabledThemes) { @@ -83,7 +83,7 @@ document.addEventListener("DOMContentLoaded", () => { toggle(Settings.useQuickCss); SettingsStore.addChangeListener("useQuickCss", toggle); - SettingsStore.addChangeListener("themeLinks", initThemes); + SettingsStore.addChangeListener("enabledThemeLinks", initThemes); SettingsStore.addChangeListener("enabledThemes", initThemes); if (!IS_WEB)