mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
REF: coincontrol truncate addresses middle
This commit is contained in:
parent
602f16f1b4
commit
d0888c493e
1 changed files with 2 additions and 3 deletions
|
@ -73,7 +73,6 @@ const OutputList = ({
|
|||
const { colors } = useTheme();
|
||||
const { txMetadata } = useContext(BlueStorageContext);
|
||||
const memo = oMemo || txMetadata[txid]?.memo || '';
|
||||
const shortId = `${address.substring(0, 9)}...${address.substr(address.length - 9)}`;
|
||||
const color = `#${txid.substring(0, 6)}`;
|
||||
const amount = formatBalance(value, balanceUnit, true);
|
||||
|
||||
|
@ -103,8 +102,8 @@ const OutputList = ({
|
|||
/>
|
||||
<ListItem.Content>
|
||||
<ListItem.Title style={oStyles.amount}>{amount}</ListItem.Title>
|
||||
<ListItem.Subtitle style={oStyles.memo} numberOfLines={1}>
|
||||
{memo || shortId}
|
||||
<ListItem.Subtitle style={oStyles.memo} numberOfLines={1} ellipsizeMode="middle">
|
||||
{memo || address}
|
||||
</ListItem.Subtitle>
|
||||
</ListItem.Content>
|
||||
{change && <ChangeBadge />}
|
||||
|
|
Loading…
Add table
Reference in a new issue