diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/Components/LibrarySyncManager.swift b/apple/OmnivoreKit/Sources/App/Views/Home/Components/LibrarySyncManager.swift index bb4e72709..f14d174b0 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/Components/LibrarySyncManager.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/Components/LibrarySyncManager.swift @@ -4,7 +4,7 @@ import Services class LibrarySyncManager { var syncCursor: String? - func syncItems(dataService: DataService) async { + func syncUpdates(dataService: DataService) async { let syncStart = Date.now let lastSyncDate = dataService.lastItemSyncTime @@ -26,15 +26,5 @@ class LibrarySyncManager { } else { dataService.lastItemSyncTime = syncStart } - - // If possible start prefetching new pages in the background - if - let itemIDs = syncResult?.updatedItemIDs, - !itemIDs.isEmpty - { - Task.detached(priority: .background) { - await dataService.prefetchPages(itemIDs: itemIDs, username: "username") - } - } } }