From ef2d3c9cd605b31453d0a034a92c309dbf7b463e Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 11 Dec 2024 04:16:52 +0200 Subject: [PATCH] show filename in response --- .../window/tab/item/identity/gemini/widget/form/save.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs index 20747105..3c081193 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/save.rs @@ -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(&[