Prechádzať zdrojové kódy

chore: Remove Debug Info

Pylogmon 1 rok pred
rodič
commit
c0582fde66
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src-tauri/src/core/tray.rs

+ 2 - 1
src-tauri/src/core/tray.rs

@@ -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"))]