mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Display headphones if playing another audio item
This commit is contained in:
parent
09bea6d8c1
commit
be6e52fbab
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ struct WebReaderContainerView: View {
|
|||
}
|
||||
|
||||
var textToSpeechButtonImage: some View {
|
||||
if audioController.state == .stopped {
|
||||
if audioController.state == .stopped || audioController.itemAudioProperties?.itemID != self.item.id {
|
||||
return Image(systemName: "headphones").font(Font.system(size: 19))
|
||||
}
|
||||
let name = audioController.isPlayingItem(itemID: item.unwrappedID) ? "pause.circle" : "play.circle"
|
||||
|
|
|
|||
Loading…
Reference in a new issue