mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 外观模式支持跟随系统切换 https://github.com/siyuan-note/siyuan/issues/5854
This commit is contained in:
parent
8e62f4c625
commit
7b66693c7c
1 changed files with 4 additions and 0 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue