Skip to content

Commit

Permalink
do it properly
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed May 1, 2024
1 parent 56cc9f0 commit 5ef36fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/tauri/src/menu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ macro_rules! gen_wrappers {
),*
) => {
$(
pub(crate) struct $inner<R: $crate::Runtime = crate::Wry> {
#[tauri_macros::default_runtime(crate::Wry, wry)]
pub(crate) struct $inner<R: $crate::Runtime> {
id: $crate::menu::MenuId,
inner: ::std::option::Option<::muda::$type>,
app_handle: $crate::AppHandle<R>,
Expand Down

0 comments on commit 5ef36fb

Please sign in to comment.