mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-03 20:24:24 -04:00
display trade amount in table instead of payout amount. refactor method in trade
This commit is contained in:
parent
d5118b048b
commit
c43575073d
6 changed files with 16 additions and 26 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue