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

@ -4,13 +4,14 @@ mod unsupported;
use gemini::Gemini;
use unsupported::Unsupported;
use crate::app::browser::window::Action;
use crate::profile::Profile;
use gtk::glib::Uri;
use std::rc::Rc;
/// Create new identity widget for Gemini protocol match given URI
pub fn new_gemini(profile: Rc<Profile>, auth_uri: Uri) -> Gemini {
Gemini::new(profile, auth_uri)
pub fn new_gemini(profile: Rc<Profile>, action: Rc<Action>, auth_uri: Uri) -> Gemini {
Gemini::new(profile, action, auth_uri)
}
/// Create new identity widget for unknown request