idk plastics told me to do this

This commit is contained in:
Dean @ Skool
2024-01-04 10:35:11 -05:00
parent 7f8bbcae07
commit b56334a8b7
+2 -2
View File
@@ -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);