This commit is contained in:
ZacharyZhang-NY committed 2026-04-04 12:03:50 -04:00
1 parent 66158e222e
commit 67c757f481
314 files changed
+37945 -22962

No files matched your search

+4 -1
View File
@@ -1,4 +1,4 @@
import { dialog, shell } from "electron";
import { dialog, nativeTheme, shell } from "electron";
import { join } from "node:path";
import { z } from "zod";
import {
@@ -83,6 +83,9 @@ export function registerCoreReadHandlers({
registerHandle(IPC_CHANNELS.updateSettings, async (_event, payload) => {
const parsed = settingsSchema.parse(payload);
db.updateSettings(parsed);
if (parsed.theme) {
nativeTheme.themeSource = parsed.theme;
}
publishDomainChanged();
return ok(true);
});