Skip to content

Commit

Permalink
Fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
SO9010 authored and SO9010 committed Aug 24, 2024
1 parent 6ab7708 commit b42c7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psst-gui/src/controller/playback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ where
Event::Command(cmd) if cmd.is(cmd::PLAYBACK_PLAYING) => {
let (item, progress) = cmd.get_unchecked(cmd::PLAYBACK_PLAYING);

if !data.added_queue.is_empty() && data.playback.now_playing.as_mut().is_some_and(|np| {
if !data.displayed_added_queue.is_empty() && data.playback.now_playing.as_mut().is_some_and(|np| {

np.origin.to_string() == data.added_queue[0].origin.to_string()
}) {
Expand Down

0 comments on commit b42c7c9

Please sign in to comment.