mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-29 20:44:25 +00:00
implement meta description update
This commit is contained in:
parent
a3ceef5dcb
commit
cb270e9f45
@ -83,7 +83,10 @@ impl Page {
|
|||||||
"gemini" => {
|
"gemini" => {
|
||||||
// Update
|
// Update
|
||||||
meta.borrow_mut().title = GString::from("Connect");
|
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;
|
meta.borrow_mut().progress_fraction = 0.25;
|
||||||
|
|
||||||
let _ = widget.activate_action("win.update", None);
|
let _ = widget.activate_action("win.update", None);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user