diff options
Diffstat (limited to 'src/view/com/composer/photos/Gallery.tsx')
-rw-r--r-- | src/view/com/composer/photos/Gallery.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/view/com/composer/photos/Gallery.tsx b/src/view/com/composer/photos/Gallery.tsx index 1aa0aef7a..accd96803 100644 --- a/src/view/com/composer/photos/Gallery.tsx +++ b/src/view/com/composer/photos/Gallery.tsx @@ -50,7 +50,7 @@ export const Gallery = observer(function ({gallery}: Props) { const handleEditPhoto = useCallback( (image: ImageModel) => { - gallery.crop(image) + gallery.edit(image) }, [gallery], ) @@ -121,10 +121,10 @@ export const Gallery = observer(function ({gallery}: Props) { </TouchableOpacity> <View style={imageControlsSubgroupStyle}> <TouchableOpacity - testID="cropPhotoButton" + testID="editPhotoButton" accessibilityRole="button" - accessibilityLabel="Crop image" - accessibilityHint="Opens modal for cropping image" + accessibilityLabel="Edit image" + accessibilityHint="" onPress={() => { handleEditPhoto(image) }} |