diff --git a/src/status_im/ethereum/stateofus.cljs b/src/status_im/ethereum/stateofus.cljs index 2412909b9d..9482eb43ce 100644 --- a/src/status_im/ethereum/stateofus.cljs +++ b/src/status_im/ethereum/stateofus.cljs @@ -46,7 +46,7 @@ (callback addr))))))) (defn get-cached-registrar [chain] - (get @registrars-cache chain)) + (get @registrars-cache chain (get old-registrars chain))) (defn lower-case? [s] (when s diff --git a/src/status_im/ui/screens/profile/user/views.cljs b/src/status_im/ui/screens/profile/user/views.cljs index a9c037edf1..efd148b451 100644 --- a/src/status_im/ui/screens/profile/user/views.cljs +++ b/src/status_im/ui/screens/profile/user/views.cljs @@ -16,7 +16,8 @@ [status-im.utils.config :as config] [status-im.utils.gfycat.core :as gfy] [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])) (views/defview share-chat-key [] @@ -71,7 +72,8 @@ @(re-frame/subscribe [:multiaccount]) active-contacts-count @(re-frame/subscribe [:contacts/active-count]) 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 (cond-> {:title (or (when registrar preferred-name)