This commit is contained in:
Liang Ding 2022-07-05 23:47:47 +08:00
parent 14ed28a069
commit d0454be592
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 17 additions and 9 deletions

View file

@ -211,9 +211,8 @@ func DownloadCloudSnapshot(tag, id string) (err error) {
if nil != err {
return
}
util.LogInfof("downloaded snapshot [%s], files [%d] chunks [%d], received bytes [%d]", tag, downloadFileCount, downloadChunkCount, downloadBytes)
util.PushClearProgress()
// TODO push msg
util.PushMsg(fmt.Sprintf(Conf.Language(153), downloadFileCount, downloadChunkCount, byteCountSI(downloadBytes)), 5000)
return
}
@ -237,9 +236,8 @@ func UploadCloudSnapshot(tag, id string) (err error) {
if nil != err {
return
}
util.LogInfof("uploaded snapshot [%s], files [%d] chunks [%d], sent bytes [%d]", tag, uploadFileCount, uploadChunkCount, uploadBytes)
util.PushClearProgress()
// TODO push msg
util.PushMsg(fmt.Sprintf(Conf.Language(152), uploadFileCount, uploadChunkCount, byteCountSI(uploadBytes)), 5000)
return
}