@@ -42,7 +42,6 @@ import {
4242} from '../../../store/slices/metadata' ;
4343import useColors from '../../../hooks/colors' ;
4444import { useAppDispatch , useAppSelector } from '../../../hooks/redux' ;
45- import { useDisplayValues } from '../../../hooks/displayValues' ;
4645import { useLightningBalance } from '../../../hooks/lightning' ;
4746import { EFeeId } from '../../../store/types/fees' ;
4847import {
@@ -52,9 +51,9 @@ import {
5251import { FeeText } from '../../../utils/fees' ;
5352import { getFiatDisplayValues } from '../../../utils/displayValues' ;
5453import { showToast } from '../../../utils/notifications' ;
55- // import { refreshWallet } from '../../../utils/wallet';
5654import type { SendScreenProps } from '../../../navigation/types' ;
5755import SafeAreaInset from '../../../components/SafeAreaInset' ;
56+ import Money from '../../../components/Money' ;
5857import Dialog from '../../../components/Dialog' ;
5958import Biometrics from '../../../components/Biometrics' ;
6059import Button from '../../../components/buttons/Button' ;
@@ -333,8 +332,6 @@ const ReviewAndSend = ({
333332 } ) ;
334333 } , [ transaction . satsPerByte , transaction . message ] ) ;
335334
336- const fiatTransactionFee = useDisplayValues ( feeSats ) ;
337-
338335 const runCreateTxMethods = useCallback ( ( ) : void => {
339336 if ( usesLightning ) {
340337 createLightningTransaction ( ) . then ( ) ;
@@ -609,11 +606,14 @@ const ReviewAndSend = ({
609606 value = {
610607 < View style = { styles . fee } >
611608 { feeIcon }
612- < BodySSB >
613- { t ( `fee:${ selectedFeeId } .title` ) } (
614- { fiatTransactionFee . fiatSymbol }
615- { fiatTransactionFee . fiatFormatted } )
616- </ BodySSB >
609+ < BodySSB > { t ( `fee:${ selectedFeeId } .title` ) } (</ BodySSB >
610+ < Money
611+ sats = { feeSats }
612+ size = "bodySSB"
613+ symbol = { true }
614+ symbolColor = "primary"
615+ />
616+ < BodySSB > )</ BodySSB >
617617 < PencilIcon height = { 12 } width = { 22 } />
618618 </ View >
619619 }
0 commit comments