Fix exception on my-profile screen (#11313 leftover)
This commit is contained in:
parent
70526f9429
commit
320d81432f
|
@ -46,7 +46,7 @@
|
||||||
(callback addr)))))))
|
(callback addr)))))))
|
||||||
|
|
||||||
(defn get-cached-registrar [chain]
|
(defn get-cached-registrar [chain]
|
||||||
(get @registrars-cache chain))
|
(get @registrars-cache chain (get old-registrars chain)))
|
||||||
|
|
||||||
(defn lower-case? [s]
|
(defn lower-case? [s]
|
||||||
(when s
|
(when s
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
[status-im.utils.config :as config]
|
[status-im.utils.config :as config]
|
||||||
[status-im.utils.gfycat.core :as gfy]
|
[status-im.utils.gfycat.core :as gfy]
|
||||||
[status-im.utils.universal-links.utils :as universal-links]
|
[status-im.utils.universal-links.utils :as universal-links]
|
||||||
[status-im.ui.components.profile-header.view :as profile-header])
|
[status-im.ui.components.profile-header.view :as profile-header]
|
||||||
|
[status-im.ethereum.stateofus :as stateofus])
|
||||||
(:require-macros [status-im.utils.views :as views]))
|
(:require-macros [status-im.utils.views :as views]))
|
||||||
|
|
||||||
(views/defview share-chat-key []
|
(views/defview share-chat-key []
|
||||||
|
@ -71,7 +72,8 @@
|
||||||
@(re-frame/subscribe [:multiaccount])
|
@(re-frame/subscribe [:multiaccount])
|
||||||
active-contacts-count @(re-frame/subscribe [:contacts/active-count])
|
active-contacts-count @(re-frame/subscribe [:contacts/active-count])
|
||||||
tribute-to-talk @(re-frame/subscribe [:tribute-to-talk/profile])
|
tribute-to-talk @(re-frame/subscribe [:tribute-to-talk/profile])
|
||||||
registrar @(re-frame/subscribe [:ens.stateofus/registrar])]
|
chain @(re-frame/subscribe [:current-network])
|
||||||
|
registrar (stateofus/get-cached-registrar chain)]
|
||||||
[:<>
|
[:<>
|
||||||
[quo/list-item
|
[quo/list-item
|
||||||
(cond-> {:title (or (when registrar preferred-name)
|
(cond-> {:title (or (when registrar preferred-name)
|
||||||
|
|
Loading…
Reference in New Issue