From 0cdc56401addab2b5b8b7d55e1716dc0f5bc7b5c Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Mon, 11 Feb 2019 09:43:19 +0200 Subject: [PATCH] [#6850] fix Add to contacts appears in public chat --- src/status_im/ui/screens/chat/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/chat/views.cljs b/src/status_im/ui/screens/chat/views.cljs index 13dcb2858e..1f79e20089 100644 --- a/src/status_im/ui/screens/chat/views.cljs +++ b/src/status_im/ui/screens/chat/views.cljs @@ -69,7 +69,7 @@ :accessibility-label :chat-menu-button} :handler #(on-options chat-id name group-chat public?)}]])] [connectivity/connectivity-view] - (when-not (or public? group-chat) + (when (and (not group-chat) (first contacts)) [add-contact-bar (first contacts)])])) (defmulti message-row (fn [{{:keys [type]} :row}] type))