diff --git a/app/components/message_attachments/attachment_thumbnail.js b/app/components/message_attachments/attachment_thumbnail.js index fe7f443be..8f660e378 100644 --- a/app/components/message_attachments/attachment_thumbnail.js +++ b/app/components/message_attachments/attachment_thumbnail.js @@ -2,8 +2,9 @@ // See LICENSE.txt for license information. import React, {PureComponent} from 'react'; -import {Image, StyleSheet, View} from 'react-native'; +import {StyleSheet, View} from 'react-native'; import PropTypes from 'prop-types'; +import FastImage from 'react-native-fast-image'; export default class AttachmentThumbnail extends PureComponent { static propTypes = { @@ -19,7 +20,7 @@ export default class AttachmentThumbnail extends PureComponent { return ( - - diff --git a/package-lock.json b/package-lock.json index 68639aecd..9a885108c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1293,6 +1293,11 @@ "resolved": "https://registry.npmjs.org/@react-native-community/async-storage/-/async-storage-1.6.2.tgz", "integrity": "sha512-EJGsbrHubK1mGxPjWB74AaHAd5m9I+Gg2RRPZzMK6org7QOU9WOBnIMFqoeVto3hKOaEPlk8NV74H6G34/2pZQ==" }, + "@react-native-community/cameraroll": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@react-native-community/cameraroll/-/cameraroll-1.3.0.tgz", + "integrity": "sha512-QJl9N34euvGU7s/Gn6jhsqi70O4SmxFxuy+yBnW7ehE8qtPYO91gyLLrtiWdTfYvuVCUNvX/G0LKJQLm8SojAA==" + }, "@react-native-community/cli-platform-android": { "version": "3.0.0-alpha.7", "resolved": "https://registry.npmjs.org/@react-native-community/cli-platform-android/-/cli-platform-android-3.0.0-alpha.7.tgz",