✏️ Re: #106 Fixes typo, deafault --> default

This commit is contained in:
Alicia Sykes 2021-07-31 18:33:52 +01:00
parent ecb613f03f
commit 38516d6dd2
2 changed files with 3 additions and 3 deletions

View File

@ -104,9 +104,9 @@ export default {
/* Updates theme. Checks if the new theme is local or external,
and calls appropirate updating function. Updates local storage */
updateTheme(newTheme) {
if (newTheme === 'Deafault') {
if (newTheme === 'Default') {
this.resetToDefault();
this.themeHelper.theme = 'Deafault';
this.themeHelper.theme = 'Default';
} else if (this.isThemeLocal(newTheme)) {
this.ApplyLocalTheme(newTheme);
} else {

View File

@ -157,7 +157,7 @@ export default {
}
}
}
availibleThemes.Deafault = '#';
availibleThemes.Default = '#';
return availibleThemes;
},
/* Checks if any of the icons are Font Awesome glyphs */