From 38fed646f5cca489f74de238a1f38cbb63f32159 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 31 May 2022 15:18:37 -0700 Subject: [PATCH] Remove debug code --- .../App/PDFSupport/PDFViewerViewModel.swift | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewerViewModel.swift b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewerViewModel.swift index e8777e0b9..e2ab7554b 100644 --- a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewerViewModel.swift +++ b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewerViewModel.swift @@ -26,21 +26,7 @@ public final class PDFViewerViewModel: ObservableObject { return storedURL } -// guard let data = pdfItem.documentData else { return remoteURL } -// -// let subPath = pdfItem.title.isEmpty ? UUID().uuidString : pdfItem.title -// -// let path = FileManager.default -// .urls(for: .cachesDirectory, in: .userDomainMask)[0] -// .appendingPathComponent(subPath) -// -// do { -// try data.write(to: path) -// storedURL = path -// return path -// } catch { return remoteURL - // } } public func loadHighlightPatches(completion onComplete: @escaping ([String]) -> Void) {