Skip to content

Commit

Permalink
Add newlines between function definitions (SleipnirGroup#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcmogul authored Jul 10, 2024
1 parent 754c728 commit 09a4c72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ async fn contains_build_gradle(dir: Option<&Path>) -> Result<bool, &'static str>
},
)
}

#[tauri::command]
async fn open_file_dialog(app_handle: tauri::AppHandle) {
let file_path = FileDialogBuilder::new()
Expand Down Expand Up @@ -468,6 +469,7 @@ fn solver_status_callback(traj: HolonomicTrajectory, handle: i64) {
let _ = tx.send(ProgressUpdate { traj, handle });
};
}

fn main() {
let (tx, rx) = channel::<ProgressUpdate>();
PROGRESS_SENDER_LOCK.get_or_init(move || tx);
Expand Down

0 comments on commit 09a4c72

Please sign in to comment.