This commit is contained in:
2025-11-15 01:10:27 -05:00
parent ffe14a24d3
commit c1a5edb39c
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ impl ApplicationHandler<ClientEvent> for App {
impl AppHandle { impl AppHandle {
pub fn send(&self, event: ClientEvent) { pub fn send(&self, event: ClientEvent) {
self.proxy.send_event(event); self.proxy.send_event(event).unwrap();
self.window.request_redraw(); self.window.request_redraw();
} }
} }

View File

@@ -14,6 +14,7 @@ mod ui;
pub use app::AppHandle; pub use app::AppHandle;
#[derive(Debug)]
pub enum ClientEvent { pub enum ClientEvent {
Connect, Connect,
} }