Changed order for tradeable assets on my account page.
This commit is contained in:
parent
fe7b6f2906
commit
b53a254a1c
|
@ -138,7 +138,7 @@ public class AccountService {
|
|||
b.getTradeable().getType().name(),
|
||||
b.getAmount().toPlainString()
|
||||
))
|
||||
.sorted(Comparator.comparing(BalanceData::symbol))
|
||||
.sorted(Comparator.comparing(BalanceData::amount).thenComparing(BalanceData::symbol))
|
||||
.toList(),
|
||||
TradeableData.DECIMAL_FORMAT.format(account.getTotalBalance()),
|
||||
transactionData
|
||||
|
|
Loading…
Reference in New Issue