mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fetch pdf data only if it's missing from LinkedItem
This commit is contained in:
parent
c08c710601
commit
2918cbcdf5
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ extension DataService {
|
|||
linkedItem.isArchived = item.isArchived
|
||||
linkedItem.contentReader = item.contentReader
|
||||
|
||||
if linkedItem.isPDF {
|
||||
if linkedItem.isPDF, linkedItem.pdfData == nil {
|
||||
do {
|
||||
try self.fetchPDFData(slug: linkedItem.unwrappedSlug, pageURLString: linkedItem.unwrappedPageURLString)
|
||||
} catch {
|
||||
|
|
|
|||
Loading…
Reference in a new issue