mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Add version info at the end of message in all error notifications Fix https://github.com/siyuan-note/siyuan/issues/7899
This commit is contained in:
parent
a7e4eed843
commit
9fdefe15de
1 changed files with 0 additions and 1 deletions
|
|
@ -142,7 +142,6 @@ func PushMsg(msg string, timeout int) (msgId string) {
|
||||||
|
|
||||||
func PushErrMsg(msg string, timeout int) (msgId string) {
|
func PushErrMsg(msg string, timeout int) (msgId string) {
|
||||||
msgId = gulu.Rand.String(7)
|
msgId = gulu.Rand.String(7)
|
||||||
msg += msg + " v" + Ver // Add version info at the end of message in all error notifications https://github.com/siyuan-note/siyuan/issues/7899
|
|
||||||
BroadcastByType("main", "msg", -1, msg, map[string]interface{}{"id": msgId, "closeTimeout": timeout})
|
BroadcastByType("main", "msg", -1, msg, map[string]interface{}{"id": msgId, "closeTimeout": timeout})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue