hotfix: add user helper to suggest all funds are being sent with the tx fee needed

This commit is contained in:
Andre Neves 2019-02-24 11:18:07 -05:00
parent feb45d7f01
commit 51d9eeb50e
1 changed files with 9 additions and 1 deletions

View File

@ -143,6 +143,13 @@ const InfoCardLabel = styled(TextComponent)`
margin-bottom: 10px;
`;
const InfoCardSubLabel = styled(TextComponent)`
opacity: 0.5;
margin-top: -7px;
margin-bottom: 10px;
font-size: 9px;
`;
const InfoCardUSD = styled(TextComponent)`
opacity: 0.5;
margin-top: 2.5px;
@ -754,13 +761,14 @@ class Component extends PureComponent<Props, State> {
<SendWrapper>
<InfoCard>
<InfoContent>
<InfoCardLabel value='Available Funds:' />
<InfoCardLabel value='Available Funds' />
<TextComponent value={zecBalance} size={1.25} isBold />
<InfoCardUSD value={zecBalanceInUsd} size={0.84375} />
</InfoContent>
<Divider opacity={0.3} />
<InfoContent>
<InfoCardLabel value='Sending' />
<InfoCardSubLabel value='Includes transaction fees' />
<TextComponent value={valueSent} size={1.25} isBold />
<InfoCardUSD value={valueSentInUsd} size={0.84375} />
</InfoContent>