mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 14:14:39 +00:00
[#12936] Add accessibility-id to message timestamp
This commit is contained in:
parent
ffba396e4d
commit
cd86a1065b
@ -80,7 +80,9 @@
|
|||||||
(let [anim-opacity (animation/create-value 0)]
|
(let [anim-opacity (animation/create-value 0)]
|
||||||
[react/animated-view {:style (style/message-timestamp-wrapper message) :opacity anim-opacity}
|
[react/animated-view {:style (style/message-timestamp-wrapper message) :opacity anim-opacity}
|
||||||
(when @show-timestamp? (message-timestamp-anim anim-opacity show-timestamp?))
|
(when @show-timestamp? (message-timestamp-anim anim-opacity show-timestamp?))
|
||||||
[react/text {:style (style/message-timestamp-text)}
|
[react/text
|
||||||
|
{:style (style/message-timestamp-text)
|
||||||
|
:accessibility-label :message-timestamp}
|
||||||
timestamp-str]])))
|
timestamp-str]])))
|
||||||
|
|
||||||
(defview quoted-message
|
(defview quoted-message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user