mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
remove extras
This commit is contained in:
parent
12474b0f44
commit
dec66284b3
@ -10,7 +10,7 @@ impl Notice for Banner {
|
||||
|
||||
/// Create new `Self`
|
||||
fn notice() -> Self {
|
||||
let banner = Banner::builder().button_label("Ok").revealed(false).build();
|
||||
let banner = Banner::builder().button_label("Ok").build();
|
||||
banner.connect_button_clicked(|this| this.set_revealed(false));
|
||||
banner
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user