mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
reload page on identity apply
This commit is contained in:
parent
5128324f8e
commit
0091175d2a
3 changed files with 13 additions and 10 deletions
|
|
@ -51,7 +51,7 @@ impl Item {
|
|||
let page = Rc::new(Page::new(
|
||||
id.clone(),
|
||||
profile.clone(),
|
||||
(actions.0, actions.1, action.clone()),
|
||||
(actions.0, actions.1.clone(), action.clone()),
|
||||
));
|
||||
|
||||
let widget = Rc::new(Widget::new(
|
||||
|
|
@ -86,7 +86,8 @@ impl Item {
|
|||
if let Some(uri) = page.navigation().request().uri() {
|
||||
// Rout by scheme
|
||||
if uri.scheme().to_lowercase() == "gemini" {
|
||||
return identity::new_gemini(profile.clone(), uri).present(Some(&parent));
|
||||
return identity::new_gemini(profile.clone(), actions.1.clone(), uri)
|
||||
.present(Some(&parent));
|
||||
}
|
||||
}
|
||||
// Show dialog with unsupported request message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue