Open in new tab on long press

This commit is contained in:
Paul Frazee 2022-11-17 10:36:57 -06:00
parent 58d5cb47b7
commit b390101106

View file

@ -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