mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-19 15:35:41 +08:00
chore: Remove Debug Info
This commit is contained in:
1 parent
f142db3d49
commit
def49e6d20
1 file changed
+2
-1
@@ -145,16 +145,17 @@ impl Tray {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn on_left_click(app_handle: &AppHandle) {
|
||||
let tray_event = { Config::verge().latest().tray_event.clone() };
|
||||
let tray_event = tray_event.unwrap_or("main_window".into());
|
||||
println!("{tray_event}");
|
||||
match tray_event.as_str() {
|
||||
"system_proxy" => feat::toggle_system_proxy(),
|
||||
"tun_mode" => feat::toggle_tun_mode(),
|
||||
_ => resolve::create_window(app_handle),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn on_system_tray_event(app_handle: &AppHandle, event: SystemTrayEvent) {
|
||||
match event {
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
|
||||
Reference in new issue
Block a user