Fix photos not updating
This commit is contained in:
parent
88740eaf52
commit
e40d06f8d9
|
@ -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}}
|
||||||
|
|
Loading…
Reference in New Issue