diff --git a/src/status_im2/common/confirmation_drawer/view.cljs b/src/status_im2/common/confirmation_drawer/view.cljs index 70d14e8662..203c80330e 100644 --- a/src/status_im2/common/confirmation_drawer/view.cljs +++ b/src/status_im2/common/confirmation_drawer/view.cljs @@ -33,10 +33,14 @@ (let [{:keys [group-chat chat-id public-key color profile-picture name]} context id (or chat-id public-key) - display-name (or - (when-not group-chat - (rf/sub [:contacts/contact-name-by-identity id])) - name) + contact-name-by-identity (when-not group-chat + (rf/sub [:contacts/contact-name-by-identity id])) + display-name (cond + (= contact-name-by-identity + "Unknown") name + (= contact-name-by-identity + nil) name + :else contact-name-by-identity) contact (when-not group-chat (rf/sub [:contacts/contact-by-address id]))