display trade amount in table instead of payout amount. refactor method in trade

This commit is contained in:
Manfred Karrer 2016-04-14 22:28:47 +02:00
parent d5118b048b
commit c43575073d
6 changed files with 16 additions and 26 deletions

View file

@ -336,7 +336,7 @@ public class PendingTradesView extends ActivatableViewAndModel<VBox, PendingTrad
public void updateItem(final PendingTradesListItem item, boolean empty) {
super.updateItem(item, empty);
if (item != null && !empty)
setText(formatter.formatCoinWithCode(item.getTrade().getPayoutAmount()));
setText(formatter.formatCoinWithCode(item.getTrade().getTradeAmount()));
else
setText(null);
}