mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove debug code
This commit is contained in:
parent
f8dcab74ec
commit
38fed646f5
1 changed files with 0 additions and 14 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue