Add accessibility id for community unread indicators (#15485)
This commit is contained in:
parent
103e154076
commit
7ed4bc5a5c
|
@ -3,6 +3,7 @@
|
|||
[quo2.components.common.unread-grey-dot.style :as style]))
|
||||
|
||||
(defn unread-grey-dot
|
||||
[]
|
||||
[accessibility-label]
|
||||
[rn/view
|
||||
{:style style/unread-grey-dot}])
|
||||
(cond-> {:style style/unread-grey-dot}
|
||||
accessibility-label (assoc :accessibility-label accessibility-label :accessible true))])
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
[counter/counter {:type :default} unread-mentions-count]
|
||||
|
||||
unread-messages?
|
||||
[unread-grey-dot]))
|
||||
[unread-grey-dot :unviewed-messages-public]))
|
||||
|
||||
(defn communities-list-view-item
|
||||
[props
|
||||
|
|
|
@ -62,4 +62,4 @@
|
|||
(not muted?)
|
||||
(not (pos? (int mentions-count)))
|
||||
unread-messages?)
|
||||
[unread-grey-dot])]]])
|
||||
[unread-grey-dot :unviewed-messages-public])]]])
|
||||
|
|
Loading…
Reference in New Issue