mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
draft new tab open on middle click
This commit is contained in:
parent
0d55d492f3
commit
8f1e94dd68
8 changed files with 67 additions and 13 deletions
|
|
@ -21,9 +21,14 @@ pub struct Text {
|
|||
|
||||
impl Text {
|
||||
// Construct
|
||||
pub fn gemini(gemtext: &str, base: &Uri, action_page_open: Arc<SimpleAction>) -> Self {
|
||||
pub fn gemini(
|
||||
gemtext: &str,
|
||||
base: &Uri,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
action_page_open: Arc<SimpleAction>,
|
||||
) -> Self {
|
||||
// Init components
|
||||
let gemini = Gemini::new(gemtext, base, action_page_open);
|
||||
let gemini = Gemini::new(gemtext, base, action_tab_append, action_page_open);
|
||||
|
||||
// Init meta
|
||||
let meta = Meta {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue