mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Only preload non-PDF audio items
This commit is contained in:
parent
40adb4c4a8
commit
3b83a8cd84
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ import Views
|
|||
// because it will kick off the user's future items being automatically transcribed.
|
||||
// This happens because when an article is saved, we check if the user has a recent
|
||||
// listen. If they do, we will automatically transcribe their message.
|
||||
if let first = newItems.first?.id {
|
||||
if let first = newItems.filter({ !$0.isPDF }).first?.id {
|
||||
_ = await audioController.preload(itemIDs: [first])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue