Re-apply current theme when blur is toggled

This commit is contained in:
Aylam 2023-08-12 12:16:16 +03:00 committed by aylamz
parent b03534bb92
commit 2b72cb0b09

View File

@ -382,6 +382,8 @@ function checkForSplash() {
} else { } else {
document.documentElement.style.setProperty("--blur", "none"); document.documentElement.style.setProperty("--blur", "none");
} }
const theme = defaultStore.state.darkMode ? ColdDeviceStorage.get("darkTheme") : ColdDeviceStorage.get("lightTheme");
applyTheme(theme);
}, },
{ immediate: true }, { immediate: true },
); );