diff --git a/modules/expo-selectable-text/src/ExpoUITextView.tsx b/modules/expo-selectable-text/src/ExpoUITextView.tsx index 3e9a6709fc..57ed9e26be 100644 --- a/modules/expo-selectable-text/src/ExpoUITextView.tsx +++ b/modules/expo-selectable-text/src/ExpoUITextView.tsx @@ -45,7 +45,7 @@ export default function ExpoUITextView({ {...textDefaults} {...rest} ellipsizeMode={rest.ellipsizeMode ?? rest.lineBreakMode ?? 'tail'} - style={[{flex: 1}, rootStyle]}> + style={[{flex: 1}, flattenedStyle]}> {React.Children.toArray(children).map((c, index) => { if (React.isValidElement(c)) { return c diff --git a/src/view/com/lightbox/Lightbox.tsx b/src/view/com/lightbox/Lightbox.tsx index 988c445676..64d8bf3502 100644 --- a/src/view/com/lightbox/Lightbox.tsx +++ b/src/view/com/lightbox/Lightbox.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {Pressable, StyleSheet, View} from 'react-native' +import {StyleSheet, View} from 'react-native' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import ImageView from './ImageViewing' import {shareImageModal, saveImageToMediaLibrary} from 'lib/media/manip' @@ -105,16 +105,15 @@ function LightboxFooter({imageIndex}: {imageIndex: number}) { return ( {altText ? ( - setAltExpanded(!isAltExpanded)} - accessibilityRole="button"> + + selectable + onPress={() => setAltExpanded(prev => !prev)}> {altText} - + ) : null}