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(&[ button.set_css_classes(&[
"success", "success",
]); ]);
button.set_label( button.set_label(&format!(
"Saved to destination!", "Saved to {}",
) file.parse_name()
))
} }
Err((_, e)) => { Err((_, e)) => {
button.set_css_classes(&[ button.set_css_classes(&[