implement stateful api for append action

This commit is contained in:
yggverse 2024-11-11 11:35:35 +02:00
parent a6ef61486d
commit 3a0deabc14
5 changed files with 102 additions and 17 deletions

View file

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