Skip to content

Commit

Permalink
Update examples/iced.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Apr 8, 2024
1 parent a96ffa2 commit 2cf9380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/iced.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl Example {
// poll for global hotkey events every 50ms
loop {
if let Ok(event) = receiver.try_recv() {
sender.send(ProgramCommands::Received(format!("{:?}", t))).await.unwarp();
sender.send(ProgramCommands::Received(format!("{:?}", event))).await.unwarp();
}
async_std::task::sleep(std::time::Duration::from_millis(50)).await;
}
Expand Down

0 comments on commit 2cf9380

Please sign in to comment.