diff --git a/app/containers/message/Audio.tsx b/app/containers/message/Audio.tsx index 53b27942d..3ab079e92 100644 --- a/app/containers/message/Audio.tsx +++ b/app/containers/message/Audio.tsx @@ -22,7 +22,7 @@ import { TSupportedThemes } from '../../theme'; import { MediaTypes, downloadMediaFile, searchMediaFileAsync } from '../../lib/methods/handleMediaDownload'; import EventEmitter from '../../lib/methods/helpers/events'; import { PAUSE_AUDIO } from './constants'; -import { isAutoDownloadEnabled } from './helpers/mediaDownload/autoDownloadPreference'; +import { isAutoDownloadEnabled } from '../../lib/methods/autoDownloadPreference'; interface IButton { loading: boolean; @@ -107,8 +107,7 @@ const Button = React.memo(({ loading, paused, onPress, disabled, theme, toDownlo disabled={disabled} onPress={onPress} hitSlop={BUTTON_HIT_SLOP} - background={Touchable.SelectableBackgroundBorderless()} - > + background={Touchable.SelectableBackgroundBorderless()}> {loading ? ( ) : ( @@ -180,7 +179,8 @@ class MessageAudio extends React.Component + ]}>