Changed order for tradeable assets on my account page.

This commit is contained in:
Andrew Lalis 2022-02-23 20:59:21 +01:00
parent fe7b6f2906
commit b53a254a1c
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class AccountService {
b.getTradeable().getType().name(), b.getTradeable().getType().name(),
b.getAmount().toPlainString() b.getAmount().toPlainString()
)) ))
.sorted(Comparator.comparing(BalanceData::symbol)) .sorted(Comparator.comparing(BalanceData::amount).thenComparing(BalanceData::symbol))
.toList(), .toList(),
TradeableData.DECIMAL_FORMAT.format(account.getTotalBalance()), TradeableData.DECIMAL_FORMAT.format(account.getTotalBalance()),
transactionData transactionData