Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix https://github.com/siyuan-note/siyuan/issues/6818

Vanessae3600ee2538c
diff --git a/app/src/config/appearance.ts b/app/src/config/appearance.ts
index 011056c471..af162350e4 100644
--- a/app/src/config/appearance.ts
+++ b/app/src/config/appearance.ts
@@ -189,7 +189,7 @@ export const appearance = {
hideStatusBar: (appearance.element.querySelector("#hideStatusBar") as HTMLInputElement).checked,
}, response => {
if ((
- window.siyuan.config.appearance.themeJS && !response.data.modeOS &&
+ window.siyuan.config.appearance.themeJS &&
(
response.data.mode !== window.siyuan.config.appearance.mode ||
window.siyuan.config.appearance.themeLight !== response.data.themeLight ||
@@ -217,7 +217,7 @@ export const appearance = {
openColorPicker();
});
appearance.element.querySelector("#resetLayout").addEventListener("click", () => {
- resetLayout();
+ resetLayout();
});
/// #if !BROWSER
appearance.element.querySelector("#appearanceOpenIcon").addEventListener("click", () => {