✨ 支持保存和加载不同的界面布局 https://github.com/siyuan-note/siyuan/issues/7636
This commit is contained in:
parent
50e79b9476
commit
64a1d69996
1 changed files with 0 additions and 4 deletions
|
@ -59,7 +59,6 @@ type AppConf struct {
|
|||
Export *conf.Export `json:"export"` // 导出配置
|
||||
Graph *conf.Graph `json:"graph"` // 关系图配置
|
||||
UILayout *conf.UILayout `json:"uiLayout"` // 界面布局,v2.8.0 后这个字段不再使用
|
||||
UILayouts []*conf.UILayout `json:"uiLayouts"` // 界面布局列表
|
||||
UserData string `json:"userData"` // 社区用户信息,对 User 加密存储
|
||||
User *conf.User `json:"-"` // 社区用户内存结构,不持久化
|
||||
Account *conf.Account `json:"account"` // 帐号配置
|
||||
|
@ -150,9 +149,6 @@ func InitConf() {
|
|||
if nil == Conf.UILayout {
|
||||
Conf.UILayout = &conf.UILayout{}
|
||||
}
|
||||
if 1 > len(Conf.UILayouts) {
|
||||
Conf.UILayouts = []*conf.UILayout{}
|
||||
}
|
||||
if nil == Conf.Keymap {
|
||||
Conf.Keymap = &conf.Keymap{}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue