mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
implement meta description update
This commit is contained in:
parent
a3ceef5dcb
commit
cb270e9f45
1 changed files with 4 additions and 1 deletions
|
|
@ -83,7 +83,10 @@ impl Page {
|
|||
"gemini" => {
|
||||
// Update
|
||||
meta.borrow_mut().title = GString::from("Connect");
|
||||
//meta.borrow_mut().description = uri.host();
|
||||
meta.borrow_mut().description = match uri.host() {
|
||||
Some(host) => host,
|
||||
None => panic!(),
|
||||
};
|
||||
meta.borrow_mut().progress_fraction = 0.25;
|
||||
|
||||
let _ = widget.activate_action("win.update", None);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue