🎨 Improve data sync perception when data merging https://github.com/siyuan-note/siyuan/issues/9740

This commit is contained in:
Daniel 2023-11-25 17:13:43 +08:00
parent 4cd93b0fec
commit 2f2abf0eff
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
5 changed files with 9 additions and 7 deletions

View file

@ -1237,7 +1237,7 @@ func syncRepo(exit, byHand bool) (dataChanged bool, err error) {
return
}
dataChanged = nil == beforeIndex || beforeIndex.ID != afterIndex.ID
dataChanged = nil == beforeIndex || beforeIndex.ID != afterIndex.ID || mergeResult.DataChanged()
util.PushStatusBar(fmt.Sprintf(Conf.Language(149), elapsed.Seconds()))
Conf.Sync.Synced = util.CurrentTimeMillis()