idk plastics told me to do this
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user