From 6cd640fa0a9763f413bd6be2b154b09723c5664c Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Fri, 13 Aug 2021 11:25:39 -0300 Subject: [PATCH] fix(core): import `set_native_image` on macOS --- core/tauri-runtime-wry/src/system_tray.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/tauri-runtime-wry/src/system_tray.rs b/core/tauri-runtime-wry/src/system_tray.rs index e9119d56c..a7f8a6b16 100644 --- a/core/tauri-runtime-wry/src/system_tray.rs +++ b/core/tauri-runtime-wry/src/system_tray.rs @@ -17,6 +17,9 @@ pub use wry::application::{ }, }; +#[cfg(target_os = "macos")] +pub use wry::application::platform::macos::CustomMenuItemExtMacOS; + use crate::{Error, Message, Result, TrayMessage}; use tauri_runtime::menu::MenuHash;