mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue