feat: Support Disable Tray Click Event (#38)

#21
This commit is contained in:
Pylogmon
2023-11-30 22:45:02 +08:00
committed by GitHub
parent 389ce60bc9
commit 306c3bea21
2 changed files with 3 additions and 1 deletions

View File

@@ -186,7 +186,8 @@ impl Tray {
match tray_event.as_str() {
"system_proxy" => feat::toggle_system_proxy(),
"tun_mode" => feat::toggle_tun_mode(),
_ => resolve::create_window(app_handle),
"main_window" => resolve::create_window(app_handle),
_ => {}
}
}