chore: add accessiblity ids to message status views
Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
parent
cc348fda99
commit
8cfc6ecb4f
|
@ -7,7 +7,9 @@
|
|||
|
||||
(defn status
|
||||
[outgoing-status]
|
||||
[rn/view {:style style/status-container}
|
||||
[rn/view
|
||||
{:accessibility-label :message-status
|
||||
:style style/status-container}
|
||||
[quo/icon
|
||||
(if (= outgoing-status :delivered)
|
||||
:i/delivered
|
||||
|
|
|
@ -99,7 +99,10 @@
|
|||
context (assoc context :on-long-press #(message-on-long-press message-data context))
|
||||
response-to (:response-to content)]
|
||||
[rn/touchable-highlight
|
||||
{:underlay-color (colors/theme-colors colors/neutral-5 colors/neutral-90)
|
||||
{:accessibility-label (if (and outgoing (= outgoing-status :sending))
|
||||
:message-sending
|
||||
:message-sent)
|
||||
:underlay-color (colors/theme-colors colors/neutral-5 colors/neutral-90)
|
||||
:style {:border-radius 16
|
||||
:opacity (if (and outgoing (= outgoing-status :sending)) 0.5 1)}
|
||||
:on-press (fn []
|
||||
|
|
Loading…
Reference in New Issue