Skip to content

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

:art: Improve interface loading after switching themes and updating code snippets https://github.com/siyuan-note/siyuan/issues/16390

Daniel3cc93f242585
diff --git a/kernel/api/setting.go b/kernel/api/setting.go
index f7a1d5acd5..9c1bd17f3d 100644
--- a/kernel/api/setting.go
+++ b/kernel/api/setting.go
@@ -548,6 +548,7 @@ func setAppearance(c *gin.Context) {
}
ret.Data = model.Conf.Appearance
+ util.BroadcastByType("main", "setAppearance", 0, "", model.Conf.Appearance)
}
func setPublish(c *gin.Context) {