Browse Source

:art: Improve refresh after data sync on the mobile https://github.com/siyuan-note/siyuan/issues/11125

Daniel 1 year ago
parent
commit
b0445ee76f
1 changed files with 0 additions and 5 deletions
  1. 0 5
      kernel/model/repository.go

+ 0 - 5
kernel/model/repository.go

@@ -1474,11 +1474,6 @@ func processSyncMergeResult(exit, byHand bool, mergeResult *dejavu.MergeResult,
 
 	upsertRootIDs, removeRootIDs := incReindex(upserts, removes)
 	go func() {
-		if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
-			// 移动端不推送差异详情
-			upsertRootIDs = []string{}
-		}
-
 		util.WaitForUILoaded()
 
 		if 0 < len(upsertRootIDs) || 0 < len(removeRootIDs) {