Skip to content

Commit

Permalink
connect: fix all-features specific error
Browse files Browse the repository at this point in the history
  • Loading branch information
photovoltex committed Oct 31, 2024
1 parent d5e487b commit 8468717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect/src/state/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl ConnectState {

let ctx = self.context.as_ref();
let current_track = ConnectState::find_index_in_context(ctx, |t| {
t.uri == self.current_track(|t| t.uri.as_ref())
self.current_track(|t| &t.uri) == &t.uri
})?;
self.reset_playback_context(Some(current_track))?;
} else {
Expand Down

0 comments on commit 8468717

Please sign in to comment.