mirror of https://github.com/m2049r/xmrwallet.git
show correct amount for pending tx (#309)
This commit is contained in:
parent
74ba36de26
commit
975cc4f43c
|
@ -236,9 +236,6 @@ public class TxFragment extends Fragment {
|
|||
String sign = (info.direction == TransactionInfo.Direction.Direction_In ? "+" : "-");
|
||||
|
||||
long realAmount = info.amount;
|
||||
if (info.isPending) {
|
||||
realAmount = realAmount - info.fee;
|
||||
}
|
||||
tvTxAmount.setText(sign + Wallet.getDisplayAmount(realAmount));
|
||||
|
||||
if ((info.fee > 0)) {
|
||||
|
|
Loading…
Reference in New Issue