Skip to content

Commit

Permalink
PNG -> PBM
Browse files Browse the repository at this point in the history
  • Loading branch information
ewired committed Sep 25, 2023
1 parent 8fbf5a4 commit 73e69d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/core/src/view/remote_display/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ impl View for RemoteDisplay {
.ok();
true
}
Event::UpdateRemoteView(ref png_data) => {
let data = png_data.clone();
Event::UpdateRemoteView(ref pbm_data) => {
let data = pbm_data.clone();
match self.update_remote_view(data) {
Ok(_) => {}
Ok(..) => {}
Err(e) => {
println!("{}", e);
hub.send(Event::Notify(e.to_string())).unwrap();
Expand Down

0 comments on commit 73e69d2

Please sign in to comment.