Skip to content

Commit

Permalink
Merge pull request #100 from helmerapp/chore/renamed-variable
Browse files Browse the repository at this point in the history
chore: removed underscore as not needed
  • Loading branch information
RohanPunjani authored Jul 2, 2024
2 parents 5a57ce2 + d54998b commit 86abcbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-tauri/src/editor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ pub async fn export_gif(options: ExportOptions, app_handle: AppHandle) {

let gif_encoder = Arc::new(gif_encoder);

let _gif_name = chrono::Local::now()
let gif_name = chrono::Local::now()
.format("GIF %Y-%m-%d at %I-%M-%S %p")
.to_string();
let gif_path = match app_handle
.dialog()
.file()
.add_filter("GIF Files", &["gif"])
.set_file_name(&_gif_name) // Set the default filename
.set_file_name(&gif_name) // Set the default filename
.blocking_save_file()
{
Some(path) => path,
Expand Down

0 comments on commit 86abcbc

Please sign in to comment.