Skip to content

Commit

Permalink
Add AccountTransactionsPane's Fees and Taxes use Money.formatNonZero
Browse files Browse the repository at this point in the history
Similarly as TransactionsViewer
  • Loading branch information
Mikerion authored and buchen committed May 9, 2024
1 parent 049757e commit 3ec2c69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public Color getForeground(Object element)
@Override
public String getText(Object e)
{
return Values.Money.format(getFees.apply((AccountTransaction) e), client.getBaseCurrency());
return Values.Money.formatNonZero(getFees.apply((AccountTransaction) e), client.getBaseCurrency());
}

@Override
Expand Down Expand Up @@ -246,7 +246,7 @@ public Color getForeground(Object element)
@Override
public String getText(Object e)
{
return Values.Money.format(getTaxes.apply((AccountTransaction) e), client.getBaseCurrency());
return Values.Money.formatNonZero(getTaxes.apply((AccountTransaction) e), client.getBaseCurrency());
}

@Override
Expand Down

0 comments on commit 3ec2c69

Please sign in to comment.