[#11041] Hardly visible username on replies in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
36f9436e12
commit
3ae85cacd5
|
@ -42,7 +42,8 @@
|
|||
from
|
||||
contact-name
|
||||
current-public-key
|
||||
(partial style/quoted-message-author outgoing)]]
|
||||
(partial style/quoted-message-author outgoing)
|
||||
outgoing]]
|
||||
(if (and image
|
||||
;; Disabling images for public-chats
|
||||
(not public?))
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
:font-weight "400"}}
|
||||
first-name]))))
|
||||
|
||||
(defn format-reply-author [from username current-public-key style]
|
||||
(defn format-reply-author [from username current-public-key style outgoing]
|
||||
(let [contact-name (str reply-symbol username)]
|
||||
(or (and (= from current-public-key)
|
||||
[react/text {:style (style true)}
|
||||
|
@ -43,7 +43,9 @@
|
|||
:line-height 18
|
||||
:font-weight "500"})}
|
||||
(or (stateofus/username trimmed-name) trimmed-name)])
|
||||
[react/text {:style (merge {:color colors/gray
|
||||
[react/text {:style (merge {:color (if outgoing
|
||||
colors/white-transparent-70-persist
|
||||
colors/gray)
|
||||
:font-size 12
|
||||
:line-height 18
|
||||
:font-weight "400"})}
|
||||
|
|
Loading…
Reference in New Issue