remove extra lines

This commit is contained in:
yggverse 2025-01-28 17:09:27 +02:00
parent 3d3e0d3b0a
commit 8ea11a215a

View file

@ -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
{
@ -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())
}
},
),