Skip to content

Commit

Permalink
remove extra lines
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 28, 2025
1 parent 3d3e0d3 commit 8ea11a2
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/app/browser/window/tab/item/client/driver/gemini.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,10 @@ fn handle(
// on chunk
{
let action = action.clone();
move |_, total| {
action.update.activate(&format!(
"Received {}...",
format_bytes(total)
))
}
move |_, total| action.update.activate(&format!(
"Received {}...",
format_bytes(total)
))
},
// on complete
{
Expand All @@ -253,9 +251,7 @@ fn handle(
format_bytes(total)
))
}
Err(e) => {
action.cancel.activate(&e.to_string())
}
Err(e) => action.cancel.activate(&e.to_string())
}
},
),
Expand Down

0 comments on commit 8ea11a2

Please sign in to comment.