diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-17 10:36:57 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-17 10:36:57 -0600 |
commit | b390101106c7a093bf4bfce5814c70c5eb8ffb87 (patch) | |
tree | a89b2fc15586d134fcb77ed0adcfe1f15dcf64e3 | |
parent | 58d5cb47b7e4aefb62650fa112dc6271afa82ffb (diff) | |
download | voidsky-b390101106c7a093bf4bfce5814c70c5eb8ffb87.tar.zst |
Open in new tab on long press
-rw-r--r-- | src/view/com/util/Link.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/com/util/Link.tsx b/src/view/com/util/Link.tsx index 84060ac01..1d8ec2309 100644 --- a/src/view/com/util/Link.tsx +++ b/src/view/com/util/Link.tsx @@ -21,7 +21,8 @@ export const Link = observer(function Link({ store.nav.navigate(href) } const onLongPress = () => { - store.shell.openModal(new LinkActionsModel(href, title || href)) + store.nav.newTab(href, title) + // store.shell.openModal(new LinkActionsModel(href, title || href)) } return ( <TouchableOpacity |