@@ -22,11 +22,13 @@ import {
22
22
} from '@/ui/state/transactions/hooks' ;
23
23
import { fontSizes } from '@/ui/theme/font' ;
24
24
import { spacing } from '@/ui/theme/spacing' ;
25
- import { satoshisToAmount , useApproval , useLocationState , useWallet } from '@/ui/utils' ;
25
+ import { amountToSatoshis , satoshisToAmount , useApproval , useLocationState , useWallet } from '@/ui/utils' ;
26
26
import { getAddressUtxoDust } from '@unisat/wallet-sdk/lib/transaction' ;
27
27
28
28
import { useNavigate } from '../../MainRoute' ;
29
29
import SignPsbt from './SignPsbt' ;
30
+ import { TickUsdWithoutPrice } from '@/ui/components/TickUsd' ;
31
+ import { BtcUsd } from '@/ui/components/BtcUsd' ;
30
32
31
33
interface Props {
32
34
params : {
@@ -281,9 +283,9 @@ function InscribeTransferStep({ contextData, updateContextData }: StepProps) {
281
283
< Text text = "Inscribe TRANSFER" preset = "title-bold" textCenter my = "lg" />
282
284
283
285
< Column >
284
- < Row justifyBetween >
286
+ < Row justifyBetween itemsCenter >
285
287
< Text text = "Available" color = "textDim" />
286
-
288
+ < TickUsdWithoutPrice tick = { contextData . ticker } balance = { inputAmount } type = { 'brc20' } />
287
289
{ tokenBalance ? (
288
290
< Column >
289
291
{ tokenBalance . availableBalanceUnSafe != '0' ? (
@@ -439,7 +441,9 @@ function InscribeConfirmStep({ contextData, updateContextData }: StepProps) {
439
441
< Text text = { `${ amount } ` } preset = "title-bold" size = "xxl" textCenter wrap digital />
440
442
< BRC20Ticker tick = { tokenBalance . ticker } preset = "lg" />
441
443
</ Row >
442
-
444
+ < Row itemsCenter justifyCenter >
445
+ < TickUsdWithoutPrice tick = { tokenBalance . ticker } balance = { amount + '' } type = { 'brc20' } />
446
+ </ Row >
443
447
< Column mt = "xxl" >
444
448
< Text text = "Preview" preset = "sub-bold" />
445
449
< Card preset = "style2" >
@@ -487,6 +491,10 @@ function InscribeConfirmStep({ contextData, updateContextData }: StepProps) {
487
491
< Text text = "Total" color = "gold" />
488
492
< Text text = { `${ totalFee } BTC` } color = "gold" />
489
493
</ Row >
494
+ < Row justifyBetween >
495
+ < div > </ div >
496
+ < BtcUsd sats = { amountToSatoshis ( totalFee ) } />
497
+ </ Row >
490
498
</ Column >
491
499
</ Column >
492
500
</ Column >
0 commit comments