diff --git a/src/components/DotIndicatorMessage.tsx b/src/components/DotIndicatorMessage.tsx index 81297c74f63f..3f72bbf429aa 100644 --- a/src/components/DotIndicatorMessage.tsx +++ b/src/components/DotIndicatorMessage.tsx @@ -9,12 +9,11 @@ import {isReceiptError} from '@libs/ErrorUtils'; import fileDownload from '@libs/fileDownload'; import type {MaybePhraseKey} from '@libs/Localize'; import * as Localize from '@libs/Localize'; -import CONST from '@src/CONST'; import type {ReceiptError} from '@src/types/onyx/Transaction'; import Icon from './Icon'; import * as Expensicons from './Icon/Expensicons'; -import {PressableWithoutFeedback} from './Pressable'; import Text from './Text'; +import TextLink from './TextLink'; type DotIndicatorMessageProps = { /** @@ -66,23 +65,22 @@ function DotIndicatorMessage({messages = {}, style, type, textStyles}: DotIndica {uniqueMessages.map((message, i) => isReceiptError(message) ? ( - { - fileDownload(message.source, message.filename); - }} + style={styles.offlineFeedback.text} > - {Localize.translateLocal('iou.error.receiptFailureMessage')} + { + fileDownload(message.source, message.filename); + }} > - {Localize.translateLocal('iou.error.receiptFailureMessage')} - {Localize.translateLocal('iou.error.saveFileMessage')} - {Localize.translateLocal('iou.error.loseFileMessage')} - - + {Localize.translateLocal('iou.error.saveFileMessage')} + + + {Localize.translateLocal('iou.error.loseFileMessage')} + ) : (