"cannot find type MenuHash in this scope" (#2240)

This commit is contained in:
Jonathan Dizdarevic
2021-07-20 16:37:21 +07:00
committed by GitHub
parent dd52e738f1
commit 226414d1a5
2 changed files with 6 additions and 1 deletions

5
.changes/menuhash-fix.md Normal file
View File

@@ -0,0 +1,5 @@
---
"tauri-runtime-wry": patch
---
Fix the error "cannot find type MenuHash in this scope"

View File

@@ -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;