diff --git a/static/assets/js/themes.js b/static/assets/js/themes.js index 216aa19..28a8557 100644 --- a/static/assets/js/themes.js +++ b/static/assets/js/themes.js @@ -6,8 +6,8 @@ class Theme { constructor() { this.theme = settingsStorage.get('theme'); - // Check if the stored theme is 'system default' or false - if (this.theme === 'system default' || !this.theme) { + // Check if the stored theme is 'system default' or 'system-default' or false + if (this.theme === 'system default' || this.theme === 'system-default' || !this.theme) { this.set('dark', false); // Set the theme to 'Dark' without saving } else { this.set(this.theme);