show filename in response

This commit is contained in:
yggverse 2024-12-11 04:16:52 +02:00
parent 9eb7a1b0bb
commit ef2d3c9cd6

View File

@ -85,9 +85,10 @@ impl Save {
button.set_css_classes(&[
"success",
]);
button.set_label(
"Saved to destination!",
)
button.set_label(&format!(
"Saved to {}",
file.parse_name()
))
}
Err((_, e)) => {
button.set_css_classes(&[