feat: Support Disable Tray Click Event (#38)

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

No files matched your search

+2 -1
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),
_ => {}
}
}