enable identity selection for Titan protocol

This commit is contained in:
yggverse 2025-01-23 10:21:30 +02:00
parent b437a9d190
commit ed0172be68
3 changed files with 6 additions and 9 deletions

View file

@ -94,8 +94,9 @@ impl Item {
move || {
// Request should match valid URI for all drivers supported
if let Some(uri) = page.navigation.request.uri() {
// Rout by scheme
if uri.scheme().to_lowercase() == "gemini" {
// Route by scheme
let scheme = uri.scheme();
if scheme == "gemini" || scheme == "titan" {
return identity::new_gemini(
(&browser_action, &window_action),
&profile,