From 0c53ebc664cc40c535f7ddbb746505f90e0940d8 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Thu, 20 Jul 2023 14:07:36 -0300 Subject: [PATCH] remove unused messages --- core/tauri-runtime-wry/src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/tauri-runtime-wry/src/lib.rs b/core/tauri-runtime-wry/src/lib.rs index 41c5f8c064c4..fb93da8e5ae1 100644 --- a/core/tauri-runtime-wry/src/lib.rs +++ b/core/tauri-runtime-wry/src/lib.rs @@ -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}, @@ -1027,8 +1026,6 @@ pub enum Message { Box (String, WryWindowBuilder) + Send>, Sender>>, ), - MenuEvent(menu::MenuEvent), - TrayIconEvent(tray::TrayIconEvent), UserEvent(T), } @@ -2260,8 +2257,6 @@ fn handle_user_message( } } - Message::MenuEvent(_) => (), - Message::TrayIconEvent(_) => (), Message::UserEvent(_) => (), }