🎨 桌面端支持隐藏底部状态栏 https://github.com/siyuan-note/siyuan/issues/5292

This commit is contained in:
Liang Ding 2022-06-26 22:27:18 +08:00
parent aa691726e0
commit fa9115a081
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 21 additions and 1 deletions

View file

@ -33,6 +33,7 @@ type Appearance struct {
CustomCSS bool `json:"customCSS"` // 是否启用自定义主题
ThemeJS bool `json:"themeJS"` // 是否启用了主题 JavaScript
CloseButtonBehavior int `json:"closeButtonBehavior"` // 关闭按钮行为0退出1最小化到托盘
HideStatusBar bool `json:"hideStatusBar"` // 是否隐藏底部状态栏
}
func NewAppearance() *Appearance {
@ -47,5 +48,6 @@ func NewAppearance() *Appearance {
Lang: "en_US",
CustomCSS: false,
CloseButtonBehavior: 0,
HideStatusBar: false,
}
}