chore: update

This commit is contained in:
huzibaca committed 2024-09-22 22:15:36 +08:00
1 parent 2263ade187
commit 3d6faecaed
2 files changed
+1 -1

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ impl Handle {
pub fn get_window(&self) -> Option<WebviewWindow> {
self.app_handle
.lock()
.clone()
.as_ref()
.and_then(|a| a.get_webview_window("main"))
}
-1
View File
@@ -63,7 +63,6 @@ impl Tray {
let _ = tray.set_visible(true);
}
});
println!("{:?}", tray.id());
tray.on_menu_event(on_menu_event);
Ok(())
}