diff --git a/src/app/browser/window/tab/item/page/navigation/request.rs b/src/app/browser/window/tab/item/page/navigation/request.rs index bbc98524..f556a596 100644 --- a/src/app/browser/window/tab/item/page/navigation/request.rs +++ b/src/app/browser/window/tab/item/page/navigation/request.rs @@ -167,7 +167,7 @@ impl Request { resolver_timeout: u32, cancellable: Option<&Cancellable>, callback: impl FnOnce(Option) + 'static, - ) -> Option { + ) { // suggest scheme let url = gformat!("gemini://{}", self.strip_prefix().trim()); @@ -184,9 +184,8 @@ impl Request { Ok(_) => Some(url), Err(_) => None, }) - }); + }) } - None } }