From 75b278637559a0d644cbb823cdc1613dc78ba11c Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 8 Dec 2024 04:37:22 +0200 Subject: [PATCH] remove extra brackets --- src/app/browser/window/tab/item/identity/gemini.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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();