Fix photos not updating

This commit is contained in:
Vitaliy Vlasov 2018-07-30 05:20:40 -06:00
parent 88740eaf52
commit e40d06f8d9
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 2 additions and 3 deletions

View File

@ -22,9 +22,8 @@
(views/defview toolbar-chat-view [{:keys [chat-id color public-key public? group-chat] (views/defview toolbar-chat-view [{:keys [chat-id color public-key public? group-chat]
:as current-chat}] :as current-chat}]
(views/letsubs [photo-path [:get-chat-photo chat-id] (views/letsubs [chat-name [:get-current-chat-name]
chat-name [:get-current-chat-name] {:keys [pending? whisper-identity photo-path]} [:get-current-chat-contact]]
{:keys [pending? whisper-identity]} [:get-current-chat-contact]]
[react/view {:style styles/toolbar-chat-view} [react/view {:style styles/toolbar-chat-view}
[react/view {:style {:flex-direction :row [react/view {:style {:flex-direction :row
:flex 1}} :flex 1}}