Fix alt text for GIFs (#4766)

* fix alt text dialog for gifs

* only apply to native
This commit is contained in:
Hailey
2024-07-10 12:25:44 -07:00
committed by GitHub
parent fa64d9393b
commit 65b5d31b58
2 changed files with 18 additions and 4 deletions
+7 -2
View File
@@ -174,8 +174,13 @@ function AltTextInner({
<Text style={[a.text_2xl, a.font_bold, a.leading_tight, a.pb_sm]}>
<Trans>Add alt text</Trans>
</Text>
<View style={[a.w_full, a.align_center, native({maxHeight: 200})]}>
<GifEmbed link={link} params={params} hideAlt />
<View style={[a.align_center]}>
<GifEmbed
link={link}
params={params}
hideAlt
style={[native({maxHeight: 225})]}
/>
</View>
</View>
</View>