Skip to content

Commit

Permalink
⚡ Updates method of getting initial theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Oct 30, 2021
1 parent 168e52c commit 785695b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/ThemeSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 785695b

Please sign in to comment.