reload page on identity apply

This commit is contained in:
yggverse 2024-11-20 11:51:56 +02:00
parent 5128324f8e
commit 0091175d2a
3 changed files with 13 additions and 10 deletions

View file

@ -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