@@ -2,6 +2,7 @@ import type { EdgeCurrencyWallet, EdgeTransaction } from 'edge-core-js'
22import * as React from 'react'
33import { ActivityIndicator , View } from 'react-native'
44import type { AirshipBridge } from 'react-native-airship'
5+ import { sprintf } from 'sprintf-js'
56
67import { useHandler } from '../../hooks/useHandler'
78import { useWatch } from '../../hooks/useWatch'
@@ -10,6 +11,7 @@ import type { PhazeDisplayOrder } from '../../plugins/gift-cards/phazeGiftCardTy
1011import { useSelector } from '../../types/reactRedux'
1112import { ArrowRightIcon , CheckIcon } from '../icons/ThemedIcons'
1213import { cacheStyles , type Theme , useTheme } from '../services/ThemeContext'
14+ import { EdgeText } from '../themed/EdgeText'
1315import { SelectableRow } from '../themed/SelectableRow'
1416import { EdgeModal } from './EdgeModal'
1517
@@ -105,6 +107,9 @@ export const GiftCardMenuModal: React.FC<Props> = props => {
105107
106108 return (
107109 < EdgeModal bridge = { bridge } title = { order . brandName } onCancel = { handleCancel } >
110+ < EdgeText style = { styles . quoteIdText } numberOfLines = { 1 } >
111+ { sprintf ( lstrings . gift_card_quote_id_label_1s , order . quoteId ) }
112+ </ EdgeText >
108113 < SelectableRow
109114 marginRem = { 0.5 }
110115 title = { lstrings . gift_card_go_to_transaction }
@@ -140,6 +145,12 @@ export const GiftCardMenuModal: React.FC<Props> = props => {
140145}
141146
142147const getStyles = cacheStyles ( ( theme : Theme ) => ( {
148+ quoteIdText : {
149+ fontSize : theme . rem ( 0.75 ) ,
150+ color : theme . secondaryText ,
151+ marginHorizontal : theme . rem ( 0.5 ) ,
152+ marginBottom : theme . rem ( 0.5 )
153+ } ,
143154 iconContainer : {
144155 width : theme . rem ( 2.5 ) ,
145156 height : theme . rem ( 2.5 ) ,
0 commit comments