Updates method of getting initial theme

This commit is contained in:
Alicia Sykes 2021-10-30 13:59:56 +01:00
parent 168e52c251
commit 785695b7f5
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ export default {
getInitialTheme() {
const localTheme = localStorage[localStorageKeys.THEME];
if (localTheme && localTheme !== 'undefined') return localTheme;
return this.confTheme || Defaults.theme;
return this.appConfig.theme || Defaults.theme;
},
/* Determines if a given theme is local / not a custom user stylesheet */
isThemeLocal(themeToCheck) {