From bddbfb9176dfeb6a447a551cb8e53607c784807c Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 14 Oct 2016 14:05:04 +0300 Subject: [PATCH] fixes #346 Former-commit-id: 24777a560c7ac28f591392032b5a8fcfe2ad3e69 --- src/status_im/components/chat_icon/screen.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/components/chat_icon/screen.cljs b/src/status_im/components/chat_icon/screen.cljs index 069e9b641c..a9c4e9fc27 100644 --- a/src/status_im/components/chat_icon/screen.cljs +++ b/src/status_im/components/chat_icon/screen.cljs @@ -39,12 +39,12 @@ (defview chat-icon-view [chat-id group-chat name online styles] [photo-path [:chat-photo chat-id] - dapp-url [:chat :dapp-url]] + dapp? [:get-in [:contacts chat-id :dapp?]]] [view (:container styles) (if-not (s/blank? photo-path) [chat-icon photo-path styles] [default-chat-icon name styles]) - (when dapp-url + (when dapp? [dapp-badge styles])]) (defn chat-icon-view-chat-list [chat-id group-chat name color online]