Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed May 6, 2024
1 parent ec32037 commit 1309481
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/gitbutler-tauri/src/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ pub fn build(_package_info: &PackageInfo) -> Menu {
}

let mut file_menu = Menu::new();
#[cfg(target_os = "macos")]
#[cfg(target_os = "macos")]
{
// NB: macOS has the concept of having an app running but its
// NB: macOS has the concept of having an app running but its
// window closed, but other platforms do not
file_menu = file_menu.add_native_item(MenuItem::CloseWindow);
}
Expand Down

0 comments on commit 1309481

Please sign in to comment.