🎨 Improve rename assets message pushing https://github.com/siyuan-note/siyuan/issues/11313

This commit is contained in:
Daniel 2024-05-09 09:46:01 +08:00
parent 9ee10cc2d5
commit abcb26ffb4
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -797,7 +797,6 @@ func RenameAsset(oldPath, newName string) (err error) {
return
}
util.PushEndlessProgress(fmt.Sprintf(Conf.Language(70), filepath.Base(treeAbsPath)))
if !bytes.Contains(data, []byte(oldName)) {
continue
}