This commit is contained in:
Liang Ding 2022-07-05 23:49:12 +08:00
parent d0454be592
commit 76a4915408
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -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
}