Skip to content

Commit

Permalink
fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Aug 5, 2023
1 parent 27c023d commit 4eb031a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tauri/src/menu/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ impl<R: Runtime> Menu<R> {
#[cfg(target_os = "macos")]
&PredefinedMenuItem::separator(app_handle),
&PredefinedMenuItem::close_window(app_handle, None),
&PredefinedMenuItem::about(app_handle, None, Some(about_metadata)),
&PredefinedMenuItem::about(app_handle, None, Some(about_metadata.clone())),
],
)?;

Expand All @@ -144,7 +144,7 @@ impl<R: Runtime> Menu<R> {
pkg_info.name.clone(),
true,
&[
&PredefinedMenuItem::about(app_handle, None, Some(about_metadata.clone())),
&PredefinedMenuItem::about(app_handle, None, Some(about_metadata)),
&PredefinedMenuItem::separator(app_handle),
&PredefinedMenuItem::services(app_handle, None),
&PredefinedMenuItem::separator(app_handle),
Expand Down

0 comments on commit 4eb031a

Please sign in to comment.