Skip to content

Commit

Permalink
Fix device_id in kdeconnect block (#2033)
Browse files Browse the repository at this point in the history
  • Loading branch information
ammgws committed Apr 2, 2024
1 parent 37ea1cd commit 77fb3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/kdeconnect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ impl Device {
debug!("all devices: {:?}", devices);

if let Some(device_id) = device_id {
devices.retain(|id| id != device_id);
devices.retain(|id| id == device_id);
}

let mut selected_device = None;
Expand Down

0 comments on commit 77fb3c0

Please sign in to comment.