🎨 改进桌面端底部状态栏通知 https://github.com/siyuan-note/siyuan/issues/5294

This commit is contained in:
Liang Ding 2022-06-26 20:15:59 +08:00
parent 27bdcb6672
commit cdeda3f076
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -368,7 +368,7 @@ func IndexRepo(memo string) (err error) {
})
elapsed := time.Since(start)
util.LogInfof("index data repo elapsed [%.2fs]", elapsed.Seconds())
util.PushStatusBar(fmt.Sprintf("Index data repo elapsed [%.2fs]", elapsed.Seconds()))
util.PushStatusBar(fmt.Sprintf("Indexed data repo in %.2fs", elapsed.Seconds()))
util.PushClearProgress()
return
}
@ -439,6 +439,6 @@ func syncRepo() (err error) {
})
elapsed := time.Since(start)
util.LogInfof("sync data repo elapsed [%.2fs]", elapsed.Seconds())
util.PushStatusBar(fmt.Sprintf("Sync data repo elapsed [%.2fs]", elapsed.Seconds()))
util.PushStatusBar(fmt.Sprintf("Synced data repo in %.2fs", elapsed.Seconds()))
return
}