Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: make alt text selectable in Lightbox (#2563)

authored by

Kyrylo Pronskykh and committed by
GitHub
d514b13d 34c1aebd

+10 -6
+10 -6
src/view/com/lightbox/Lightbox.tsx
··· 1 1 import React from 'react' 2 - import {Pressable, StyleSheet, View} from 'react-native' 2 + import {StyleSheet, View, Pressable} from 'react-native' 3 3 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' 4 4 import ImageView from './ImageViewing' 5 5 import {shareImageModal, saveImageToMediaLibrary} from 'lib/media/manip' ··· 107 107 {altText ? ( 108 108 <Pressable 109 109 onPress={() => setAltExpanded(!isAltExpanded)} 110 + onLongPress={() => {}} 110 111 accessibilityRole="button"> 111 - <Text 112 - style={[s.gray3, styles.footerText]} 113 - numberOfLines={isAltExpanded ? undefined : 3}> 114 - {altText} 115 - </Text> 112 + <View> 113 + <Text 114 + selectable 115 + style={[s.gray3, styles.footerText]} 116 + numberOfLines={isAltExpanded ? undefined : 3}> 117 + {altText} 118 + </Text> 119 + </View> 116 120 </Pressable> 117 121 ) : null} 118 122 <View style={styles.footerBtns}>