about summary refs log tree commit diff
path: root/src/components/Link.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-03-12 13:50:53 -0500
committerGitHub <noreply@github.com>2024-03-12 13:50:53 -0500
commitc9d821c5725f491f5ff4ac240b50e4dd325c9f49 (patch)
tree3ae6dee5c79dd84515524a593944f378752a32c6 /src/components/Link.tsx
parent812329919266924c1ea488669dc38aa106b79d71 (diff)
downloadvoidsky-c9d821c5725f491f5ff4ac240b50e4dd325c9f49.tar.zst
Combine actions, convert to new menu (#3174)
* Combine actions, convert to new menu

* remove about tab and move content to header

* Tweak alignment

* fix missing rkey

* hog the like button

* Add a little more whitespace

* Improve a11y

* Yeah toast

* Update usage

* Pin to Home

---------

Co-authored-by: Samuel Newman <mozzius@protonmail.com>
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r--src/components/Link.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx
index ff72a08ce..00e6a56f4 100644
--- a/src/components/Link.tsx
+++ b/src/components/Link.tsx
@@ -228,6 +228,7 @@ export function InlineLink({
   onPress: outerOnPress,
   download,
   selectable,
+  label,
   ...rest
 }: InlineLinkProps) {
   const t = useTheme()
@@ -255,7 +256,8 @@ export function InlineLink({
   return (
     <Text
       selectable={selectable}
-      label={href}
+      accessibilityHint=""
+      accessibilityLabel={label || href}
       {...rest}
       style={[
         {color: t.palette.primary_500},