unwrap
This commit is contained in:
@@ -62,7 +62,7 @@ impl ApplicationHandler<ClientEvent> for App {
|
||||
|
||||
impl AppHandle {
|
||||
pub fn send(&self, event: ClientEvent) {
|
||||
self.proxy.send_event(event);
|
||||
self.proxy.send_event(event).unwrap();
|
||||
self.window.request_redraw();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ mod ui;
|
||||
|
||||
pub use app::AppHandle;
|
||||
|
||||
#[derive(Debug)]
|
||||
pub enum ClientEvent {
|
||||
Connect,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user