Skip to content

Commit

Permalink
Revert "Disable gallery image size options on mobile (#19828)"
Browse files Browse the repository at this point in the history
This reverts commit 47b74aa.
  • Loading branch information
mkevins committed Jan 24, 2020
1 parent 47b74aa commit c2238ca
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/block-library/src/gallery/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,7 @@ class GalleryEdit extends Component {
return mediaPlaceholder;
}

// disable image size options on mobile for now
const imageSizeOptions = Platform.select( {
web: this.getImagesSizeOptions(),
native: [],
} );
const imageSizeOptions = this.getImagesSizeOptions();
const shouldShowSizeOptions = hasImages && ! isEmpty( imageSizeOptions );
// This is needed to fix a separator fence-post issue on mobile.
const mobileLinkToProps = shouldShowSizeOptions ?
Expand Down

0 comments on commit c2238ca

Please sign in to comment.