mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-27 00:49:39 +00:00
Add display name/ens to activity center
This commit is contained in:
parent
172bf66436
commit
58013db24c
@ -2,5 +2,10 @@
|
||||
|
||||
(defn contact-name
|
||||
[contact]
|
||||
(or (get-in contact [:names :nickname])
|
||||
(get-in contact [:names :three-words-name])))
|
||||
(->> [(get-in contact [:names :nickname])
|
||||
(get-in contact [:names :ens-name])
|
||||
(get-in contact [:names :display-name])
|
||||
(get-in contact [:names :three-words-name])]
|
||||
|
||||
(filter seq)
|
||||
first))
|
||||
|
Loading…
x
Reference in New Issue
Block a user