Skip to content

Commit 03d2bd6

Browse files
committed
fix: system theme on free version
1 parent 1fc4f21 commit 03d2bd6

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/lib/settings.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,10 @@ class Settings {
185185
if (this.#initialized) return;
186186
this.settingsFile = Url.join(DATA_STORAGE, "settings.json");
187187

188-
if (!IS_FREE_VERSION) {
189-
this.#defaultSettings.appTheme = "system";
190-
this.#defaultSettings.editorTheme = getSystemEditorTheme(
191-
isDeviceDarkTheme(),
192-
);
193-
}
188+
this.#defaultSettings.appTheme = "system";
189+
this.#defaultSettings.editorTheme = getSystemEditorTheme(
190+
isDeviceDarkTheme(),
191+
);
194192

195193
this.#initialized = true;
196194

0 commit comments

Comments
 (0)