add request state

This commit is contained in:
yggverse 2024-11-11 12:52:46 +02:00
parent 3a0deabc14
commit 7bc2d478d0
5 changed files with 72 additions and 23 deletions

View file

@ -288,9 +288,12 @@ impl Reader {
return match uri.scheme().as_str() {
"gemini" => {
// Open new page in browser
window_action
.append()
.activate_stateful_once(None, false, false);
window_action.append().activate_stateful_once(
None,
Some(uri.to_string()),
false,
false,
); // @TODO
}
// Scheme not supported, delegate
_ => UriLauncher::new(&uri.to_str()).launch(