Open in new tab on long press
This commit is contained in:
parent
58d5cb47b7
commit
b390101106
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ export const Link = observer(function Link({
|
||||||
store.nav.navigate(href)
|
store.nav.navigate(href)
|
||||||
}
|
}
|
||||||
const onLongPress = () => {
|
const onLongPress = () => {
|
||||||
store.shell.openModal(new LinkActionsModel(href, title || href))
|
store.nav.newTab(href, title)
|
||||||
|
// store.shell.openModal(new LinkActionsModel(href, title || href))
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue