diff --git a/app/views/ShareView/index.js b/app/views/ShareView/index.js index a31b962e..2ec601f9 100644 --- a/app/views/ShareView/index.js +++ b/app/views/ShareView/index.js @@ -123,7 +123,7 @@ class ShareView extends Component { item.error = error; // get video thumbnails - if (item.mime?.match(/video/)) { + if (item.mime?.match?.(/video/)) { try { const { uri } = await VideoThumbnails.getThumbnailAsync(item.path); item.uri = uri;