mirror of
https://github.com/status-im/status-react.git
synced 2025-01-26 19:01:17 +00:00
[#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…
x
Reference in New Issue
Block a user