style(webui): show third-party logos by default

This commit is contained in:
Xubin Ren committed 2026-09-02 16:25:07 +08:00
1 parent 05100b70ad
commit a3e043cf6f
2 files changed
+14 -2

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ export const DEFAULT_LOCAL_PREFS: LocalPreferences = {
density: "comfortable",
activityMode: "auto",
codeWrap: true,
brandLogos: false,
brandLogos: true,
browserNotifications: false,
fileEditDisplayMode: "summary",
};
@@ -36,7 +36,7 @@ export function readLocalPreferences(): LocalPreferences {
density: parsed.density === "compact" ? "compact" : "comfortable",
activityMode: parsed.activityMode === "expanded" ? "expanded" : "auto",
codeWrap: parsed.codeWrap !== false,
brandLogos: parsed.brandLogos === true,
brandLogos: parsed.brandLogos !== false,
browserNotifications: parsed.browserNotifications === true,
fileEditDisplayMode: normalizeFileEditDisplayMode(parsed.fileEditDisplayMode),
};