diff --git a/src/status_im/multiaccounts/core.cljs b/src/status_im/multiaccounts/core.cljs index 4f5aa0abbf..9f2312571c 100644 --- a/src/status_im/multiaccounts/core.cljs +++ b/src/status_im/multiaccounts/core.cljs @@ -24,10 +24,11 @@ (defn displayed-name "Use preferred name, display-name, name or alias in that order" [{:keys [name display-name preferred-name alias public-key ens-verified primary-name]}] - (let [display-name (if (string/blank? display-name) nil display-name) - ens-name (or preferred-name - display-name - name)] + (let [display-name (if (string/blank? display-name) nil display-name) + preferred-name (if (string/blank? preferred-name) nil preferred-name) + ens-name (or preferred-name + display-name + name)] ;; Preferred name is our own otherwise we make sure it's verified (if (or preferred-name (and ens-verified name)) ens-name