mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
begin Titan protocol implementation
This commit is contained in:
parent
236d941b37
commit
879fe7a6f6
37 changed files with 609 additions and 102 deletions
|
|
@ -330,7 +330,7 @@ impl Reader {
|
|||
if let Some(uri) = links.get(&tag) {
|
||||
// Select link handler by scheme
|
||||
return match uri.scheme().as_str() {
|
||||
"gemini" => {
|
||||
"gemini" | "titan" => {
|
||||
// Open new page in browser
|
||||
tab_action.load.activate(Some(&uri.to_str()), true);
|
||||
}
|
||||
|
|
@ -367,7 +367,7 @@ impl Reader {
|
|||
if let Some(uri) = links.get(&tag) {
|
||||
// Select link handler by scheme
|
||||
return match uri.scheme().as_str() {
|
||||
"gemini" => {
|
||||
"gemini" | "titan" => {
|
||||
// Open new page in browser
|
||||
window_action.append.activate_stateful_once(
|
||||
Position::After,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue