🎨 Support setting status bar message switch https://github.com/siyuan-note/siyuan/issues/16236

Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-11-12 22:22:12 +08:00
parent 2f3c9f734a
commit 3f8b08fbd4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
17 changed files with 79 additions and 26 deletions

View file

@ -189,6 +189,13 @@ func StatusJob() {
}
count[action]++
if action == HistoryDatabaseIndexCommit && util.StatusBarCfg.MsgTaskHistoryDatabaseIndexCommitDisabled {
continue
}
if action == AssetContentDatabaseIndexCommit && util.StatusBarCfg.MsgTaskAssetDatabaseIndexCommitDisabled {
continue
}
if nil != actionLangs {
if label := actionLangs[task.Action]; nil != label {
action = label.(string)