Explorar o código

Revert merge policy change introduced with 1679ccb; #373

Deniz Cengiz hai 1 ano
pai
achega
74b1f68628
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Model/CoreDataStack.swift

+ 1 - 1
Model/CoreDataStack.swift

@@ -104,7 +104,7 @@ class CoreDataStack: ObservableObject {
         let taskContext = persistentContainer.newBackgroundContext()
 
         /// ensure that the background contexts stay in sync with the main context
-        taskContext.automaticallyMergesChangesFromParent = false
+        taskContext.automaticallyMergesChangesFromParent = true
         taskContext.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
         taskContext.undoManager = nil
         return taskContext