This commit is contained in:
Liang Ding 2022-06-05 15:16:46 +08:00
parent 872a6f43f0
commit 27c80da76d
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 7 additions and 3 deletions

View file

@ -370,8 +370,11 @@ func saveWorkspaceAssets(assets []string) {
}
func RemoveUnusedAssets() (ret []string) {
util.PushMsg(Conf.Language(100), 30*1000)
defer util.PushMsg(Conf.Language(99), 3000)
msgId := util.PushMsg(Conf.Language(100), 30*1000)
defer func() {
util.PushClearMsg(msgId)
util.PushMsg(Conf.Language(99), 3000)
}()
ret = []string{}
unusedAssets := UnusedAssets()