mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
"cannot find type MenuHash in this scope" (#2240)
This commit is contained in:
committed by
GitHub
parent
dd52e738f1
commit
226414d1a5
5
.changes/menuhash-fix.md
Normal file
5
.changes/menuhash-fix.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-runtime-wry": patch
|
||||
---
|
||||
|
||||
Fix the error "cannot find type MenuHash in this scope"
|
||||
@@ -31,7 +31,7 @@ pub use wry::application::platform::macos::{
|
||||
#[cfg(feature = "system-tray")]
|
||||
use crate::{Error, Message, Result, TrayMessage};
|
||||
|
||||
#[cfg(feature = "menu")]
|
||||
#[cfg(any(feature = "menu", feature = "system-tray"))]
|
||||
use tauri_runtime::menu::MenuHash;
|
||||
|
||||
use uuid::Uuid;
|
||||
|
||||
Reference in New Issue
Block a user