Skip to content

Commit

Permalink
Fix photos not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy Vlasov committed Aug 1, 2018
1 parent 868f512 commit b055ffd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/status_im/ui/screens/desktop/main/chat/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit b055ffd

Please sign in to comment.