From 9977a745439749cbdfc31540c2f4a898134e92a5 Mon Sep 17 00:00:00 2001 From: m2049r Date: Mon, 11 Jun 2018 10:21:22 +0200 Subject: [PATCH] show correct amount for pending tx (#309) --- app/src/main/java/com/m2049r/aeonwallet/TxFragment.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/com/m2049r/aeonwallet/TxFragment.java b/app/src/main/java/com/m2049r/aeonwallet/TxFragment.java index ecec6b49cb..51efdd1011 100644 --- a/app/src/main/java/com/m2049r/aeonwallet/TxFragment.java +++ b/app/src/main/java/com/m2049r/aeonwallet/TxFragment.java @@ -215,9 +215,6 @@ private void show(TransactionInfo info) { 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)) {