mirror of
https://github.com/status-im/status-react.git
synced 2025-01-13 04:24:40 +00:00
Dapp icon on non-dapp contact icon (#362)
Former-commit-id: 4b348a7631a0fea6ccb0750e32d57124b8fc2c73
This commit is contained in:
parent
3b80659985
commit
9e77635c32
@ -37,14 +37,6 @@
|
||||
{:uri photo-path})
|
||||
:style st/contact-photo}]])
|
||||
|
||||
(defn contact-online [online?]
|
||||
(when online?
|
||||
[view st/online-container
|
||||
[view st/online-dot-left]
|
||||
[view st/online-dot-right]]))
|
||||
|
||||
;;[photo-path (subscribe [:chat-photo from])
|
||||
|
||||
(defn message-content-status [{:keys [from]}]
|
||||
(let [chat-photo-path (subscribe [:chat-photo from])
|
||||
{:keys [group-chat name]} (subscribe [:chat-properties [:group-chat :name]])
|
||||
@ -61,8 +53,7 @@
|
||||
(< (* 60 1000)))]
|
||||
[view st/status-container
|
||||
[view st/status-image-view
|
||||
[contact-photo (or photo-path @chat-photo-path)]
|
||||
[contact-online online?]]
|
||||
[contact-photo (or photo-path @chat-photo-path)]]
|
||||
[text {:style st/status-from
|
||||
:font :default
|
||||
:number-of-lines 1}
|
||||
|
Loading…
x
Reference in New Issue
Block a user