Skip to content

Commit 0a58820

Browse files
author
Achyut Kumar M
committed
remove refresh logic
1 parent 9c301c0 commit 0a58820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GoInfoGame/GoInfoGame/data/DatasyncManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class DatasyncManager {
9696

9797
// 🔄 Fetch updated node from OSM
9898
let updatedNode = try await fetchNode2(nodeId: "\(payload.id)")
99-
refreshOriginalNodeIfNewer(updatedNode)
99+
// refreshOriginalNodeIfNewer(updatedNode)
100100

101101
print("✅ Sync finished for node: \(payload.id)")
102102
} else {
@@ -122,7 +122,7 @@ class DatasyncManager {
122122
}
123123

124124
let updatedWay = try await fetchway2(wayId: "\(payload.id)")
125-
refreshOriginalWayIfNewer(updatedWay)
125+
//refreshOriginalWayIfNewer(updatedWay)
126126
} else {
127127
syncSuccess = false
128128
return false

0 commit comments

Comments
 (0)