Skip to content

Commit

Permalink
remove unused messages
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jul 20, 2023
1 parent ae9423b commit 0c53ebc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions core/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use tauri_runtime::{
http::{header::CONTENT_TYPE, Request as HttpRequest, RequestParts, Response as HttpResponse},
menu,
monitor::Monitor,
tray,
webview::{WebviewIpcHandler, WindowBuilder, WindowBuilderBase},
window::{
dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize, Position, Size},
Expand Down Expand Up @@ -1027,8 +1026,6 @@ pub enum Message<T: 'static> {
Box<dyn FnOnce() -> (String, WryWindowBuilder) + Send>,
Sender<Result<Weak<Window>>>,
),
MenuEvent(menu::MenuEvent),
TrayIconEvent(tray::TrayIconEvent),
UserEvent(T),
}

Expand Down Expand Up @@ -2260,8 +2257,6 @@ fn handle_user_message<T: UserEvent>(
}
}

Message::MenuEvent(_) => (),
Message::TrayIconEvent(_) => (),
Message::UserEvent(_) => (),
}

Expand Down

0 comments on commit 0c53ebc

Please sign in to comment.