From 4d47dd4385ea159346c05609fe73de2ad0019f15 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 21 Nov 2024 13:18:11 +0200 Subject: [PATCH] init invisible by default --- .../window/tab/item/identity/gemini/widget/form/file.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs b/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs index 9e950a67..eb584181 100644 --- a/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs +++ b/src/app/browser/window/tab/item/identity/gemini/widget/form/file.rs @@ -19,7 +19,11 @@ impl File { /// Create new `Self` pub fn new(action: Rc) -> Self { // Init `GObject` - let gobject = Button::builder().label(LABEL).margin_top(MARGIN).build(); + let gobject = Button::builder() + .label(LABEL) + .margin_top(MARGIN) + .visible(false) + .build(); // Init events gobject.connect_clicked(move |_| todo!());