diff --git a/screen/transactions/TransactionDetails.tsx b/screen/transactions/TransactionDetails.tsx index ba61b5b8f..70b2c6a1c 100644 --- a/screen/transactions/TransactionDetails.tsx +++ b/screen/transactions/TransactionDetails.tsx @@ -311,7 +311,21 @@ const TransactionDetails = () => { {loc.transactions.txid} - {tx.hash} + Clipboard.setString(tx.hash)} + > + {tx.hash} + )} @@ -319,7 +333,21 @@ const TransactionDetails = () => { {tx.timestamp && ( <> {loc.transactions.details_received} - {dayjs(tx.timestamp * 1000).format('LLL')} + Clipboard.setString(dayjs(tx.timestamp * 1000).format('LLL'))} + > + {dayjs(tx.timestamp * 1000).format('LLL')} + )} @@ -327,7 +355,21 @@ const TransactionDetails = () => { {tx.inputs && ( <> {loc.transactions.details_inputs} - {tx.inputs.length} + Clipboard.setString(String(tx.inputs.length))} + > + {tx.inputs.length} + )} @@ -335,7 +377,21 @@ const TransactionDetails = () => { {tx.outputs?.length > 0 && ( <> {loc.transactions.details_outputs} - {tx.outputs.length} + Clipboard.setString(String(tx.outputs.length))} + > + {tx.outputs.length} + )}