|
| 1 | +import { dequal } from 'dequal'; |
| 2 | +import moment from 'moment'; |
1 | 3 | import React, { useContext, useState } from 'react'; |
2 | 4 | import { StyleSheet, Text, View } from 'react-native'; |
3 | | -import moment from 'moment'; |
4 | | -import { dequal } from 'dequal'; |
5 | 5 | import FastImage from 'react-native-fast-image'; |
6 | 6 |
|
7 | | -import Touchable from './Touchable'; |
8 | | -import Markdown from '../markdown'; |
| 7 | +import { IAttachment, TGetCustomEmoji } from '../../definitions'; |
| 8 | +import { themes } from '../../lib/constants'; |
| 9 | +import { fileDownloadAndPreview } from '../../lib/methods/helpers'; |
| 10 | +import { formatAttachmentUrl } from '../../lib/methods/helpers/formatAttachmentUrl'; |
9 | 11 | import openLink from '../../lib/methods/helpers/openLink'; |
| 12 | +import { TSupportedThemes, useTheme } from '../../theme'; |
10 | 13 | import sharedStyles from '../../views/Styles'; |
11 | | -import { themes } from '../../lib/constants'; |
12 | | -import MessageContext from './Context'; |
13 | | -import { fileDownloadAndPreview } from './helpers/fileDownload'; |
14 | | -import { IAttachment, TGetCustomEmoji } from '../../definitions'; |
15 | 14 | import RCActivityIndicator from '../ActivityIndicator'; |
| 15 | +import Markdown from '../markdown'; |
16 | 16 | import Attachments from './Attachments'; |
17 | | -import { TSupportedThemes, useTheme } from '../../theme'; |
18 | | -import { formatAttachmentUrl } from '../../lib/methods/helpers/formatAttachmentUrl'; |
| 17 | +import MessageContext from './Context'; |
| 18 | +import Touchable from './Touchable'; |
19 | 19 | import messageStyles from './styles'; |
20 | 20 |
|
21 | 21 | const styles = StyleSheet.create({ |
|
0 commit comments