Skip to content

Commit

Permalink
Mobile - Media & text block media file type
Browse files Browse the repository at this point in the history
  • Loading branch information
geriux committed Oct 1, 2019
1 parent 906c9e5 commit 5f32e05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class MediaContainer extends Component {
requestMediaImport( mediaUrl, ( id, url, type ) => {
if ( url ) {
onSelectMedia( {
media_type: type || MEDIA_TYPE_IMAGE, // image fallback for android
media_type: type,
id,
url,
} );
Expand All @@ -95,7 +95,7 @@ class MediaContainer extends Component {
const { onSelectMedia } = this.props;

onSelectMedia( {
media_type: type || MEDIA_TYPE_IMAGE, // image fallback for android
media_type: type,
id,
url,
} );
Expand Down

0 comments on commit 5f32e05

Please sign in to comment.