From 36f1ba782ad71e93d7f9506b71ef0a879f66959c Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Wed, 24 Jul 2024 16:17:21 -0700 Subject: [PATCH] Remove unused actor message Signed-off-by: Alex Saveau --- client-sdk/src/ui_actor.rs | 1 - egui/src/main.rs | 1 - tui/src/main.rs | 1 - 3 files changed, 3 deletions(-) diff --git a/client-sdk/src/ui_actor.rs b/client-sdk/src/ui_actor.rs index 4d44576..d453a81 100644 --- a/client-sdk/src/ui_actor.rs +++ b/client-sdk/src/ui_actor.rs @@ -65,7 +65,6 @@ pub enum Command { #[derive(Debug)] pub enum Message { FatalDbOpen(CoreError), - FatalServerConnect(ClientError), Error(CommandError), LoadedFirstPage { entries: Box<[UiEntry]>, diff --git a/egui/src/main.rs b/egui/src/main.rs index 43717b1..9370ca3 100644 --- a/egui/src/main.rs +++ b/egui/src/main.rs @@ -181,7 +181,6 @@ fn handle_message( ) { match message { Message::FatalDbOpen(e) => *fatal_error = Some(e.into()), - Message::FatalServerConnect(e) => *fatal_error = Some(e), Message::Error(e) => *last_error = Some(e), Message::LoadedFirstPage { entries, diff --git a/tui/src/main.rs b/tui/src/main.rs index 1911642..ccf93ad 100644 --- a/tui/src/main.rs +++ b/tui/src/main.rs @@ -287,7 +287,6 @@ fn handle_message( } = ui; match message { Message::FatalDbOpen(e) => return Err(e)?, - Message::FatalServerConnect(e) => return Err(e)?, Message::Error(e) => return Err(e), Message::LoadedFirstPage { entries: new_entries,