hotfix: add user helper to suggest all funds are being sent with the tx fee needed
This commit is contained in:
parent
feb45d7f01
commit
51d9eeb50e
|
@ -143,6 +143,13 @@ const InfoCardLabel = styled(TextComponent)`
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
const InfoCardSubLabel = styled(TextComponent)`
|
||||||
|
opacity: 0.5;
|
||||||
|
margin-top: -7px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
font-size: 9px;
|
||||||
|
`;
|
||||||
|
|
||||||
const InfoCardUSD = styled(TextComponent)`
|
const InfoCardUSD = styled(TextComponent)`
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
margin-top: 2.5px;
|
margin-top: 2.5px;
|
||||||
|
@ -754,13 +761,14 @@ class Component extends PureComponent<Props, State> {
|
||||||
<SendWrapper>
|
<SendWrapper>
|
||||||
<InfoCard>
|
<InfoCard>
|
||||||
<InfoContent>
|
<InfoContent>
|
||||||
<InfoCardLabel value='Available Funds:' />
|
<InfoCardLabel value='Available Funds' />
|
||||||
<TextComponent value={zecBalance} size={1.25} isBold />
|
<TextComponent value={zecBalance} size={1.25} isBold />
|
||||||
<InfoCardUSD value={zecBalanceInUsd} size={0.84375} />
|
<InfoCardUSD value={zecBalanceInUsd} size={0.84375} />
|
||||||
</InfoContent>
|
</InfoContent>
|
||||||
<Divider opacity={0.3} />
|
<Divider opacity={0.3} />
|
||||||
<InfoContent>
|
<InfoContent>
|
||||||
<InfoCardLabel value='Sending' />
|
<InfoCardLabel value='Sending' />
|
||||||
|
<InfoCardSubLabel value='Includes transaction fees' />
|
||||||
<TextComponent value={valueSent} size={1.25} isBold />
|
<TextComponent value={valueSent} size={1.25} isBold />
|
||||||
<InfoCardUSD value={valueSentInUsd} size={0.84375} />
|
<InfoCardUSD value={valueSentInUsd} size={0.84375} />
|
||||||
</InfoContent>
|
</InfoContent>
|
||||||
|
|
Loading…
Reference in New Issue