mirror of
https://github.com/wownero/wownerujo.git
synced 2026-11-14 12:14:10 +01:00
show correct amount for pending tx (#309)
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user