From e40d06f8d97f834e2f3777204240692de98a7ed4 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Mon, 30 Jul 2018 05:20:40 -0600 Subject: [PATCH] Fix photos not updating --- src/status_im/ui/screens/desktop/main/chat/views.cljs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/desktop/main/chat/views.cljs b/src/status_im/ui/screens/desktop/main/chat/views.cljs index 3ffb522442..55f4b7b31e 100644 --- a/src/status_im/ui/screens/desktop/main/chat/views.cljs +++ b/src/status_im/ui/screens/desktop/main/chat/views.cljs @@ -22,9 +22,8 @@ (views/defview toolbar-chat-view [{:keys [chat-id color public-key public? group-chat] :as current-chat}] - (views/letsubs [photo-path [:get-chat-photo chat-id] - chat-name [:get-current-chat-name] - {:keys [pending? whisper-identity]} [:get-current-chat-contact]] + (views/letsubs [chat-name [:get-current-chat-name] + {:keys [pending? whisper-identity photo-path]} [:get-current-chat-contact]] [react/view {:style styles/toolbar-chat-view} [react/view {:style {:flex-direction :row :flex 1}}