minor tweak to call
This commit is contained in:
parent
1c61d3b6b1
commit
18786b6f9b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue