Bluesky app fork with some witchin' additions 💫

make gif alt text prompt selectable (#3879)

authored by samuel.fm and committed by

GitHub 136b0e12 fdb5ffff

+6 -2
+5 -1
src/components/Prompt.tsx
··· 62 62 ) 63 63 } 64 64 65 - export function DescriptionText({children}: React.PropsWithChildren<{}>) { 65 + export function DescriptionText({ 66 + children, 67 + selectable, 68 + }: React.PropsWithChildren<{selectable?: boolean}>) { 66 69 const t = useTheme() 67 70 const {descriptionId} = React.useContext(Context) 68 71 return ( 69 72 <Text 70 73 nativeID={descriptionId} 74 + selectable={selectable} 71 75 style={[a.text_md, a.leading_snug, t.atoms.text_contrast_high, a.pb_lg]}> 72 76 {children} 73 77 </Text>
+1 -1
src/view/com/util/post-embeds/GifEmbed.tsx
··· 174 174 <Prompt.TitleText> 175 175 <Trans>Alt Text</Trans> 176 176 </Prompt.TitleText> 177 - <Prompt.DescriptionText>{text}</Prompt.DescriptionText> 177 + <Prompt.DescriptionText selectable>{text}</Prompt.DescriptionText> 178 178 <Prompt.Actions> 179 179 <Prompt.Action 180 180 onPress={control.close}