Refactor code to use other_track in CmusEvent::StatusChanged
This commit is contained in:
parent
5488404fb3
commit
607d53a4a0
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl CmusQueryResponse {
|
||||||
other_track.status, track.status
|
other_track.status, track.status
|
||||||
);
|
);
|
||||||
events.push(CmusEvent::StatusChanged(
|
events.push(CmusEvent::StatusChanged(
|
||||||
track.clone(),
|
other_track.clone(),
|
||||||
other_player_settings.clone(),
|
other_player_settings.clone(),
|
||||||
));
|
));
|
||||||
} else if track.position != other_track.position {
|
} else if track.position != other_track.position {
|
||||||
|
|
Loading…
Reference in a new issue