fixes #346
This commit is contained in:
parent
5a68b1d646
commit
24777a560c
|
@ -39,12 +39,12 @@
|
||||||
|
|
||||||
(defview chat-icon-view [chat-id group-chat name online styles]
|
(defview chat-icon-view [chat-id group-chat name online styles]
|
||||||
[photo-path [:chat-photo chat-id]
|
[photo-path [:chat-photo chat-id]
|
||||||
dapp-url [:chat :dapp-url]]
|
dapp? [:get-in [:contacts chat-id :dapp?]]]
|
||||||
[view (:container styles)
|
[view (:container styles)
|
||||||
(if-not (s/blank? photo-path)
|
(if-not (s/blank? photo-path)
|
||||||
[chat-icon photo-path styles]
|
[chat-icon photo-path styles]
|
||||||
[default-chat-icon name styles])
|
[default-chat-icon name styles])
|
||||||
(when dapp-url
|
(when dapp?
|
||||||
[dapp-badge styles])])
|
[dapp-badge styles])])
|
||||||
|
|
||||||
(defn chat-icon-view-chat-list [chat-id group-chat name color online]
|
(defn chat-icon-view-chat-list [chat-id group-chat name color online]
|
||||||
|
|
Loading…
Reference in New Issue