Browse Source

implement meta description update

master
yggverse 2 months ago
parent
commit
cb270e9f45
  1. 5
      src/browser/main/tab/page/mod.rs

5
src/browser/main/tab/page/mod.rs

@ -83,7 +83,10 @@ impl Page { @@ -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…
Cancel
Save