about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds
diff options
context:
space:
mode:
authorKuwa Lee <kuwalee1069@gmail.com>2024-06-15 19:00:34 +0800
committerGitHub <noreply@github.com>2024-06-15 19:00:34 +0800
commit01f505d09f35b642c5ea9206f10e1ff68f4eb0d5 (patch)
tree0489ad6af184fbe086a2376023f2cdaea358f8eb /src/view/com/util/post-embeds
parentb80594a554d91639eda70d311fcbc88c16c191a7 (diff)
parenteaef1446f2236cc4c8993e4c57d5bcc5bb2263d9 (diff)
downloadvoidsky-01f505d09f35b642c5ea9206f10e1ff68f4eb0d5.tar.zst
Merge branch 'bluesky-social:main' into zh
Diffstat (limited to 'src/view/com/util/post-embeds')
-rw-r--r--src/view/com/util/post-embeds/GifEmbed.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/post-embeds/GifEmbed.tsx b/src/view/com/util/post-embeds/GifEmbed.tsx
index 1c0cf3d39..f2e2a8b0e 100644
--- a/src/view/com/util/post-embeds/GifEmbed.tsx
+++ b/src/view/com/util/post-embeds/GifEmbed.tsx
@@ -181,7 +181,7 @@ function AltText({text}: {text: string}) {
         <Prompt.DescriptionText selectable>{text}</Prompt.DescriptionText>
         <Prompt.Actions>
           <Prompt.Action
-            onPress={control.close}
+            onPress={() => control.close()}
             cta={_(msg`Close`)}
             color="secondary"
           />