[#4504] Sort assets alphabetically (send - asset)
Sort assets alphabetically (by symbol). Keep ETH as first symbol in the list (like before), sort the rest alphabetically.
This commit is contained in:
parent
986fc2bc7c
commit
9cf7e05446
|
@ -102,7 +102,7 @@
|
|||
:<- [:wallet/visible-tokens-symbols]
|
||||
(fn [[network visible-tokens-symbols]]
|
||||
(conj (filter #(contains? visible-tokens-symbols (:symbol %))
|
||||
(tokens/tokens-for (ethereum/network->chain-keyword network)))
|
||||
(tokens/sorted-tokens-for (ethereum/network->chain-keyword network)))
|
||||
tokens/ethereum)))
|
||||
|
||||
(re-frame/reg-sub :wallet/visible-assets-with-amount
|
||||
|
|
Loading…
Reference in New Issue