merge stable version #2
|
@ -110,10 +110,9 @@ impl InfoBarBuilder {
|
|||
|
||||
let info_bar_to_close = info_bar.clone();
|
||||
|
||||
EventHandler::new(info_bar_close_btn.clone(), move |_| {
|
||||
info_bar_close_btn.connect_clicked(move |_| {
|
||||
info_bar_to_close.set_reveal_child(false);
|
||||
})
|
||||
.on_click();
|
||||
});
|
||||
|
||||
&INFO_BAR_INSTANCE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue