minor tweak to call

This commit is contained in:
CJ Pais 2025-07-28 08:44:55 -07:00
parent 1c61d3b6b1
commit 18786b6f9b

View file

@ -95,6 +95,7 @@ pub fn run() {
)?)?)
.menu(&menu)
.show_menu_on_left_click(true)
.icon_as_template(true)
.on_menu_event(|app, event| match event.id.as_ref() {
"settings" => {
if let Some(settings_window) = app.get_webview_window("main") {
@ -128,7 +129,6 @@ pub fn run() {
_ => {}
})
.build(app)?;
let _ = tray.set_icon_as_template(true);
app.manage(tray);
// Get the autostart manager