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) {