Skip to content

Commit

Permalink
refactor: Simplify macOS-specific helper in build_and_run_app function
Browse files Browse the repository at this point in the history
  • Loading branch information
pacholoamit committed Oct 10, 2024
1 parent b20ff8d commit fa67f68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ fn build_and_run_app(app: AppState) {

// Some macOS-specific helpers
#[cfg(target_os = "macos")]
{
main_window.set_traffic_lights_inset(12.0, 24.0).unwrap();
}
main_window.set_traffic_lights_inset(12.0, 24.0).unwrap();

// BUILD TRAY - TODO MOVE TO DIFFERENT FILE

Expand Down

0 comments on commit fa67f68

Please sign in to comment.