From 7b66693c7c85ae87a37219b3e08d2b6a40387046 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sun, 25 Sep 2022 22:19:59 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=A4=96=E8=A7=82=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=B7=9F=E9=9A=8F=E7=B3=BB=E7=BB=9F=E5=88=87?= =?UTF-8?q?=E6=8D=A2=20https://github.com/siyuan-note/siyuan/issues/5854?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/api/bazaar.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/api/bazaar.go b/kernel/api/bazaar.go index 1bfc36e25..630c2f7d3 100644 --- a/kernel/api/bazaar.go +++ b/kernel/api/bazaar.go @@ -281,6 +281,10 @@ func installBazaarTheme(c *gin.Context) { return } + // 安装集市主题后不跟随系统切换外观模式 + model.Conf.Appearance.ModeOS = false + model.Conf.Save() + util.PushMsg(model.Conf.Language(69), 3000) ret.Data = map[string]interface{}{ "packages": model.BazaarThemes(),