remove scheme from scope, rename build constructors

This commit is contained in:
yggverse 2025-01-23 11:46:43 +02:00
parent 9371f16798
commit 089a91d5a2
25 changed files with 103 additions and 72 deletions

View file

@ -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));
}
});