mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
show file path in response
This commit is contained in:
parent
ef2d3c9cd6
commit
8730ca49de
@ -511,7 +511,7 @@ impl Page {
|
|||||||
let action = action.clone();
|
let action = action.clone();
|
||||||
move |result| match result {
|
move |result| match result {
|
||||||
Ok((_, total)) => action.complete.activate(
|
Ok((_, total)) => action.complete.activate(
|
||||||
&format!("Download ({total} bytes) completed!")
|
&format!("Saved to {} ({total} bytes total)", file.parse_name())
|
||||||
),
|
),
|
||||||
Err(e) => action.cancel.activate(&e.to_string())
|
Err(e) => action.cancel.activate(&e.to_string())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user