Skip to content

Commit

Permalink
[RNMobile] Revert change to fix Action Sheet (#19934)
Browse files Browse the repository at this point in the history
* Revert "Avoid destructuring"

This reverts commit e113310.

* Fix the var name
  • Loading branch information
leandroalonso authored and mchowning committed Jan 28, 2020
1 parent 4c1ef94 commit a394c9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/image/edit.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,9 @@ export class ImageEdit extends React.Component {

const imageContainerHeight = Dimensions.get( 'window' ).width / IMAGE_ASPECT_RATIO;

const editImageComponent = ( { openMediaOptions, mediaOptions } ) => (
const editImageComponent = ( { open, mediaOptions } ) => (
<TouchableWithoutFeedback
onPress={ openMediaOptions }>
onPress={ open }>
<View style={ styles.edit }>
{ mediaOptions() }
<Icon icon={ SvgIconCustomize } { ...styles.iconCustomise } />
Expand Down

0 comments on commit a394c9f

Please sign in to comment.