mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
Merge pull request #2959 from BlueWallet/limpbrains-truncate
REF: coincontrol truncate addresses middle
This commit is contained in:
commit
a0526f7a08
@ -73,7 +73,6 @@ const OutputList = ({
|
|||||||
const { colors } = useTheme();
|
const { colors } = useTheme();
|
||||||
const { txMetadata } = useContext(BlueStorageContext);
|
const { txMetadata } = useContext(BlueStorageContext);
|
||||||
const memo = oMemo || txMetadata[txid]?.memo || '';
|
const memo = oMemo || txMetadata[txid]?.memo || '';
|
||||||
const shortId = `${address.substring(0, 9)}...${address.substr(address.length - 9)}`;
|
|
||||||
const color = `#${txid.substring(0, 6)}`;
|
const color = `#${txid.substring(0, 6)}`;
|
||||||
const amount = formatBalance(value, balanceUnit, true);
|
const amount = formatBalance(value, balanceUnit, true);
|
||||||
|
|
||||||
@ -103,8 +102,8 @@ const OutputList = ({
|
|||||||
/>
|
/>
|
||||||
<ListItem.Content>
|
<ListItem.Content>
|
||||||
<ListItem.Title style={oStyles.amount}>{amount}</ListItem.Title>
|
<ListItem.Title style={oStyles.amount}>{amount}</ListItem.Title>
|
||||||
<ListItem.Subtitle style={oStyles.memo} numberOfLines={1}>
|
<ListItem.Subtitle style={oStyles.memo} numberOfLines={1} ellipsizeMode="middle">
|
||||||
{memo || shortId}
|
{memo || address}
|
||||||
</ListItem.Subtitle>
|
</ListItem.Subtitle>
|
||||||
</ListItem.Content>
|
</ListItem.Content>
|
||||||
{change && <ChangeBadge />}
|
{change && <ChangeBadge />}
|
||||||
|
Loading…
Reference in New Issue
Block a user