mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement notice banner
This commit is contained in:
parent
a68033bc01
commit
12474b0f44
7 changed files with 71 additions and 16 deletions
|
|
@ -260,6 +260,9 @@ fn handle(
|
|||
_ => panic!() // unexpected
|
||||
}
|
||||
};
|
||||
if let Some(notice) = widget.meta.notice {
|
||||
page.notice(¬ice)
|
||||
}
|
||||
page.search.set(Some(widget.text_view));
|
||||
page.set_title(&match widget.meta.title {
|
||||
Some(title) => title.into(), // @TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue