diff --git a/src/app/browser/window/tab/item/identity/gemini.rs b/src/app/browser/window/tab/item/identity/gemini.rs index a81d12a1..bfa2cb30 100644 --- a/src/app/browser/window/tab/item/identity/gemini.rs +++ b/src/app/browser/window/tab/item/identity/gemini.rs @@ -32,11 +32,7 @@ impl Gemini { )); // Init events - widget.on_cancel({ - move || { - action.0.update.activate(None); - } - }); + widget.on_cancel(move || action.0.update.activate(None)); widget.on_apply({ let widget = widget.clone();