diff options
author | Eric Bailey <git@esb.lol> | 2023-08-24 18:28:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 16:28:26 -0700 |
commit | 462022741d52c92ffe9d32e449bc7dbec3bd78a6 (patch) | |
tree | c2305c044daa5caf10a9723401aeff57c24b88bb /src/view/com/util/post-embeds | |
parent | 4654a9a45e68eeba289f2f35473fb2af60e754e2 (diff) | |
download | voidsky-462022741d52c92ffe9d32e449bc7dbec3bd78a6.tar.zst |
Use `Pressable` for most links/embeds (#1181)
* delay press on all links * use Pressable for all accessible links
Diffstat (limited to 'src/view/com/util/post-embeds')
-rw-r--r-- | src/view/com/util/post-embeds/YoutubeEmbed.tsx | 4 | ||||
-rw-r--r-- | src/view/com/util/post-embeds/index.tsx | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/view/com/util/post-embeds/YoutubeEmbed.tsx b/src/view/com/util/post-embeds/YoutubeEmbed.tsx index 2ca0750a3..2f2da5662 100644 --- a/src/view/com/util/post-embeds/YoutubeEmbed.tsx +++ b/src/view/com/util/post-embeds/YoutubeEmbed.tsx @@ -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> ) diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx index 5d0090434..bf2365f18 100644 --- a/src/view/com/util/post-embeds/index.tsx +++ b/src/view/com/util/post-embeds/index.tsx @@ -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} /> |