Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

func applicationDidEnterBackground(_ application: UIApplication) {
notesTableViewController?.updateFrcDelegate(update: .disable)
notesTableViewController?.disableFetchedResultsController()
updateFrcDelegateNeeded = true
scheduleAppSync()
}
Expand All @@ -130,7 +130,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

updateFrcDelegateNeeded = false
notesTableViewController?.updateFrcDelegate(update: .enable(withFetch: KeychainHelper.didSyncInBackground))
notesTableViewController?.configureFetchedResultsController(performFetch: KeychainHelper.didSyncInBackground)
KeychainHelper.didSyncInBackground = false
}

Expand Down
298 changes: 0 additions & 298 deletions Source/Screens/Notes/NotesFRCManager.swift

This file was deleted.

Loading
Loading