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
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();