소스 검색

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

Daniel 1 년 전
부모
커밋
b0445ee76f
1개의 변경된 파일0개의 추가작업 그리고 5개의 파일을 삭제
  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)
 	upsertRootIDs, removeRootIDs := incReindex(upserts, removes)
 	go func() {
 	go func() {
-		if util.ContainerAndroid == util.Container || util.ContainerIOS == util.Container {
-			// 移动端不推送差异详情
-			upsertRootIDs = []string{}
-		}
-
 		util.WaitForUILoaded()
 		util.WaitForUILoaded()
 
 
 		if 0 < len(upsertRootIDs) || 0 < len(removeRootIDs) {
 		if 0 < len(upsertRootIDs) || 0 < len(removeRootIDs) {