mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:33:45 +08:00
chore: update
This commit is contained in:
parent
2263ade187
commit
3d6faecaed
@ -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"))
|
||||
}
|
||||
|
@ -63,7 +63,6 @@ impl Tray {
|
||||
let _ = tray.set_visible(true);
|
||||
}
|
||||
});
|
||||
println!("{:?}", tray.id());
|
||||
tray.on_menu_event(on_menu_event);
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user