about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/index.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-07-21 17:17:35 -0500
committerGitHub <noreply@github.com>2023-07-21 17:17:35 -0500
commitbf00d498638c881ae2738b255f018686ee374ce7 (patch)
tree737a36238b7c5840acbdf25b908a9f51a382ac1a /src/view/com/util/post-embeds/index.tsx
parent7e1dac04390cc5b16988e9e2d1263e301f5ecfba (diff)
downloadvoidsky-bf00d498638c881ae2738b255f018686ee374ce7.tar.zst
#995 use `asAnchor` on external embeds (#1043)
* use asAnchor on external embeds

* add noFeedback back, fix TouchableWithoutFeedback anchor handling
Diffstat (limited to 'src/view/com/util/post-embeds/index.tsx')
-rw-r--r--src/view/com/util/post-embeds/index.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/view/com/util/post-embeds/index.tsx b/src/view/com/util/post-embeds/index.tsx
index 372b36359..7ffebff54 100644
--- a/src/view/com/util/post-embeds/index.tsx
+++ b/src/view/com/util/post-embeds/index.tsx
@@ -181,9 +181,10 @@ export function PostEmbeds({
 
     return (
       <Link
+        asAnchor
+        noFeedback
         style={[styles.extOuter, pal.view, pal.border, style]}
-        href={link.uri}
-        noFeedback>
+        href={link.uri}>
         <ExternalLinkEmbed link={link} />
       </Link>
     )