From 76a4915408c30facbee47b00f3d3b69c229e8cb4 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 5 Jul 2022 23:49:12 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=95=B0=E6=8D=AE=E4=BB=93?= =?UTF-8?q?=E5=BA=93=E6=94=AF=E6=8C=81=E4=BA=91=E7=AB=AF=E5=A4=87=E4=BB=BD?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/5336?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/repository.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kernel/model/repository.go b/kernel/model/repository.go index 071cffd86..9cd1a6ce2 100644 --- a/kernel/model/repository.go +++ b/kernel/model/repository.go @@ -212,7 +212,9 @@ func DownloadCloudSnapshot(tag, id string) (err error) { return } util.PushClearProgress() - util.PushMsg(fmt.Sprintf(Conf.Language(153), downloadFileCount, downloadChunkCount, byteCountSI(downloadBytes)), 5000) + msg := fmt.Sprintf(Conf.Language(153), downloadFileCount, downloadChunkCount, byteCountSI(downloadBytes)) + util.PushMsg(msg, 5000) + util.PushStatusBar(msg) return } @@ -237,7 +239,9 @@ func UploadCloudSnapshot(tag, id string) (err error) { return } util.PushClearProgress() - util.PushMsg(fmt.Sprintf(Conf.Language(152), uploadFileCount, uploadChunkCount, byteCountSI(uploadBytes)), 5000) + msg := fmt.Sprintf(Conf.Language(152), uploadFileCount, uploadChunkCount, byteCountSI(uploadBytes)) + util.PushMsg(msg, 5000) + util.PushStatusBar(msg) return }