diff --git a/src/components/AttachmentView.js b/src/components/AttachmentView.js index cf9814149322..89ddb28f6e4f 100755 --- a/src/components/AttachmentView.js +++ b/src/components/AttachmentView.js @@ -1,5 +1,5 @@ import React, {memo, useState} from 'react'; -import {View, ActivityIndicator, Pressable} from 'react-native'; +import {View, ActivityIndicator} from 'react-native'; import _ from 'underscore'; import PropTypes from 'prop-types'; import Str from 'expensify-common/lib/str'; @@ -15,6 +15,7 @@ import Tooltip from './Tooltip'; import themeColors from '../styles/themes/default'; import variables from '../styles/variables'; import addEncryptedAuthTokenToURL from '../libs/addEncryptedAuthTokenToURL'; +import PressableWithoutFeedback from './Pressable/PressableWithoutFeedback'; const propTypes = { /** Whether source url requires authentication */ @@ -93,13 +94,15 @@ const AttachmentView = (props) => { /> ); return props.onPress ? ( - {children} - + ) : ( children ); @@ -117,13 +120,15 @@ const AttachmentView = (props) => { /> ); return props.onPress ? ( - {children} - + ) : ( children );