Use Pressable for most links/embeds (#1181)

* delay press on all links

* use Pressable for all accessible links
This commit is contained in:
Eric Bailey 2023-08-24 18:28:26 -05:00 committed by GitHub
parent 4654a9a45e
commit 462022741d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 33 deletions

View file

@ -23,9 +23,9 @@ export const YoutubeEmbed = ({
return (
<Link
asAnchor
style={[styles.extOuter, pal.view, pal.border, style]}
href={link.uri}
noFeedback>
href={link.uri}>
<ExternalLinkEmbed link={link} imageChild={imageChild} />
</Link>
)

View file

@ -150,7 +150,6 @@ export function PostEmbeds({
return (
<Link
asAnchor
noFeedback
style={[styles.extOuter, pal.view, pal.border, style]}
href={link.uri}>
<ExternalLinkEmbed link={link} />