[#11150] Chat icons are black in dark mode

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
andrey 2020-09-15 14:05:37 +02:00
parent f7ec945c56
commit 0594548617
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
1 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@
:accessibility-label :unviewed-messages-public}]
[badge/message-counter unviewed-messages-count])]))
(def icon-style
(defn icon-style []
{:color colors/black
:width 15
:height 15
@ -147,13 +147,13 @@
:align-items :center}
(cond
muted
[icons/icon :main-icons/tiny-muted (assoc icon-style :color colors/gray)]
[icons/icon :main-icons/tiny-muted (assoc (icon-style) :color colors/gray)]
private-group?
[icons/icon :main-icons/tiny-group icon-style]
[icons/icon :main-icons/tiny-group (icon-style)]
public-group?
[icons/icon :main-icons/tiny-public icon-style]
[icons/icon :main-icons/tiny-public (icon-style)]
:else
[icons/icon :main-icons/tiny-new-contact icon-style])
[icons/icon :main-icons/tiny-new-contact (icon-style)])
[quo/text {:weight :medium
:color (when muted :secondary)
:accessibility-label :chat-name-text