mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
remove scheme from scope, rename build constructors
This commit is contained in:
parent
9371f16798
commit
089a91d5a2
25 changed files with 103 additions and 72 deletions
|
|
@ -97,7 +97,7 @@ impl Item {
|
|||
// Route by scheme
|
||||
let scheme = uri.scheme();
|
||||
if scheme == "gemini" || scheme == "titan" {
|
||||
return identity::new_gemini(
|
||||
return identity::default(
|
||||
(&browser_action, &window_action),
|
||||
&profile,
|
||||
&uri,
|
||||
|
|
@ -106,7 +106,7 @@ impl Item {
|
|||
}
|
||||
}
|
||||
// Show dialog with unsupported request message
|
||||
identity::new_unsupported().present(Some(&parent));
|
||||
identity::unsupported().present(Some(&parent));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue