File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ interface Props {
3434 sendSuccessHandler : ( txid : string ) => void ;
3535 toDomain ?: string ;
3636 sendAll ?: boolean ;
37- coinSelectionUtxos : Utxo [ ] | null ;
37+ coinSelectionUtxos ? : Utxo [ ] | null ;
3838}
3939
4040const SendConfirmation : React . FC < Props > = props => {
@@ -148,7 +148,7 @@ const SendConfirmation: React.FC<Props> = props => {
148148 } ;
149149
150150 calculateFee ( ) ;
151- } , [ amount , toAddress ] ) ;
151+ } , [ amount , toAddress , sendAmount ] ) ;
152152
153153 return (
154154 < >
@@ -223,8 +223,26 @@ const SendConfirmation: React.FC<Props> = props => {
223223 textValue = { toAddress }
224224 maxSizeInPixels = { SCREEN_HEIGHT * 0.02 }
225225 textStyle = { styles . valueTitle }
226- numberOfLines = { 3 }
226+ numberOfLines = { 4 }
227227 />
228+ { label ? (
229+ < >
230+ < TranslateText
231+ textKey = "description"
232+ domain = "sendTab"
233+ maxSizeInPixels = { SCREEN_HEIGHT * 0.02 }
234+ textStyle = { styles . valueSubtitle }
235+ numberOfLines = { 1 }
236+ />
237+ < TranslateText
238+ textValue = { label }
239+ maxSizeInPixels = { SCREEN_HEIGHT * 0.02 }
240+ textStyle = { styles . valueTitle }
241+ numberOfLines = { 4 }
242+ />
243+ </ >
244+ ) : null }
245+
228246 < TranslateText
229247 textKey = "fee"
230248 domain = "sendTab"
You can’t perform that action at this time.
0 commit comments