refactor: fix

This commit is contained in:
GyDi committed 2022-11-14 01:45:58 +08:00
1 parent 837422fbb8
commit d566629d51
4 files changed
+16 -20

No files matched your search

+1 -6
View File
@@ -17,9 +17,6 @@ impl Tray {
let version = app_handle.package_info().version.to_string();
dbg!(&zh);
dbg!(&version);
if zh {
SystemTrayMenu::new()
.add_item(CustomMenuItem::new("open_window", "打开面板"))
@@ -128,9 +125,7 @@ impl Tray {
SystemTrayEvent::LeftClick { .. } => {
resolve::create_window(app_handle);
}
e @ _ => {
dbg!("trya");
}
_ => {}
}
}
}