mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove unneeded changes
This commit is contained in:
parent
872c3d8d0b
commit
183160b796
2 changed files with 0 additions and 8 deletions
|
|
@ -55,13 +55,6 @@ public final class DataService: ObservableObject {
|
|||
backgroundContext.automaticallyMergesChangesFromParent = true
|
||||
backgroundContext.mergePolicy = NSMergePolicy.mergeByPropertyObjectTrump
|
||||
|
||||
// NotificationCenter.default.addObserver(
|
||||
// forName: Notification.Name.NSManagedObjectContextObjectsDidChange,
|
||||
// object: backgroundContext, queue: OperationQueue.main
|
||||
// ) { note in
|
||||
// print("MERGE NOTIFICATION: ", note)
|
||||
// }
|
||||
|
||||
if isFirstTimeRunningNewAppBuild() {
|
||||
resetLocalStorage()
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ public extension DataService {
|
|||
|
||||
context.perform {
|
||||
guard let highlight = Highlight.lookup(byID: highlightID, inContext: context) else { return }
|
||||
print("LOOKED UP HIGHLIGHT: ", highlight, highlight.serverSyncStatus, highlight.serverSyncStatus)
|
||||
|
||||
if isSyncSuccess {
|
||||
highlight.remove(inContext: context)
|
||||
|
|
|
|||
Loading…
Reference in a new issue