mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Comment out the notification to highlight being spoken items
This commit is contained in:
parent
339745a93b
commit
f7de80f87d
1 changed files with 8 additions and 8 deletions
|
|
@ -369,14 +369,14 @@ public class AudioController: NSObject, ObservableObject, AVAudioPlayerDelegate,
|
|||
}
|
||||
|
||||
if let item = self.item, let speechItem = player?.currentItem as? SpeechPlayerItem {
|
||||
NotificationCenter.default.post(
|
||||
name: NSNotification.SpeakingReaderItem,
|
||||
object: nil,
|
||||
userInfo: [
|
||||
"pageID": item.unwrappedID,
|
||||
"anchorIdx": String(speechItem.speechItem.htmlIdx)
|
||||
]
|
||||
)
|
||||
// NotificationCenter.default.post(
|
||||
// name: NSNotification.SpeakingReaderItem,
|
||||
// object: nil,
|
||||
// userInfo: [
|
||||
// "pageID": item.unwrappedID,
|
||||
// "anchorIdx": String(speechItem.speechItem.htmlIdx)
|
||||
// ]
|
||||
// )
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue