There was an error while loading. Please reload this page.
with_menu_on_left_click
1 parent 73d9cd5 commit 63011caCopy full SHA for 63011ca
2 files changed
.changes/menu-on-left-click.md
@@ -0,0 +1,6 @@
1
+---
2
+"tauri-runtime-wry": "patch"
3
4
+
5
+Fix regression in `SystemTray::with_menu_on_left_click`
6
core/tauri-runtime-wry/src/system_tray.rs
@@ -105,7 +105,9 @@ pub fn create_tray<T>(
105
106
#[cfg(target_os = "macos")]
107
{
108
- builder = builder.with_icon_as_template(system_tray.icon_as_template)
+ builder = builder
109
+ .with_icon_as_template(system_tray.icon_as_template)
110
+ .with_menu_on_left_click(system_tray.menu_on_left_click)
111
}
112
113
let tray = builder
0 commit comments