mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
delegate home url parse to request component
This commit is contained in:
parent
eae35d5ab8
commit
137301200f
8 changed files with 56 additions and 88 deletions
|
|
@ -93,7 +93,7 @@ impl Item {
|
|||
let window_action = window_action.clone();
|
||||
move || {
|
||||
// Request should match valid URI for all drivers supported
|
||||
if let Some(uri) = page.navigation.request.as_uri() {
|
||||
if let Some(uri) = page.navigation.request.uri() {
|
||||
// Rout by scheme
|
||||
if uri.scheme().to_lowercase() == "gemini" {
|
||||
return identity::new_gemini(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue