Skip to content

Commit

Permalink
Fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Diegovsky committed Nov 2, 2023
1 parent 4acafe1 commit 38c8bfe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/connect/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ impl ConnectPlayer {
debug!("polling connect device...");
let player_state = self.api.player_state().await;
let Ok(state) = player_state else {
self.device_lost();
return;
self.device_lost();
return;
};
self.apply_remote_state(&state).await;
if let Ok(mut last_state) = self.last_state.write() {
Expand All @@ -133,7 +133,8 @@ impl ConnectPlayer {
source,
offset,
song,
} = command else {
} = command
else {
panic!("Illegal call");
};
let is_diff_song = current_state
Expand Down

0 comments on commit 38c8bfe

Please sign in to comment.