remove extra brackets

This commit is contained in:
yggverse 2024-12-08 04:37:22 +02:00
parent 2d5a84c39c
commit 75b2786375

View File

@ -32,11 +32,7 @@ impl Gemini {
)); ));
// Init events // Init events
widget.on_cancel({ widget.on_cancel(move || action.0.update.activate(None));
move || {
action.0.update.activate(None);
}
});
widget.on_apply({ widget.on_apply({
let widget = widget.clone(); let widget = widget.clone();