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.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
|
||||||
|
|
Loading…
Reference in New Issue