This commit is contained in:
Erica Z 2024-11-19 21:57:18 +01:00
parent 5cd88a0711
commit 8ccf9cfccb

View file

@ -226,9 +226,11 @@ impl Player {
&self, &self,
emitter: &SignalEmitter<'_>, emitter: &SignalEmitter<'_>,
) -> Result<(), zbus::fdo::Error> { ) -> Result<(), zbus::fdo::Error> {
self.can_go_next_changed(emitter).await?; futures::try_join!(
self.can_go_previous_changed(emitter).await?; self.can_go_next_changed(emitter),
self.can_play_changed(emitter).await?; self.can_go_previous_changed(emitter),
self.can_play_changed(emitter),
)?;
Ok(()) Ok(())
} }