mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-08 14:13:01 -04:00
Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
b17b248f74
3 changed files with 17 additions and 11 deletions
|
@ -93,11 +93,6 @@ async function initThemes() {
|
|||
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
initSystemValues();
|
||||
|
||||
if (!IS_WEB) {
|
||||
VencordNative.quickCss.addThemeChangeListener(initThemes);
|
||||
}
|
||||
|
||||
initThemes();
|
||||
|
||||
toggle(Settings.useQuickCss);
|
||||
|
@ -105,6 +100,10 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||
|
||||
SettingsStore.addChangeListener("enabledThemeLinks", initThemes);
|
||||
SettingsStore.addChangeListener("enabledThemes", initThemes);
|
||||
|
||||
if (!IS_WEB) {
|
||||
VencordNative.quickCss.addThemeChangeListener(initThemes);
|
||||
}
|
||||
});
|
||||
|
||||
export function initQuickCssThemeStore() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue