[FIX 4405] Add accessibility label for connection status grey bar
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
957c09a55e
commit
954efd9dd7
|
@ -22,7 +22,8 @@
|
||||||
fetching? :t/fetching-messages
|
fetching? :t/fetching-messages
|
||||||
:else nil)]
|
:else nil)]
|
||||||
(let [pending? (and (:pending current-chat-contact) (= :chat view-id))]
|
(let [pending? (and (:pending current-chat-contact) (= :chat view-id))]
|
||||||
[react/view {:style (styles/text-wrapper top 1.0 window-width pending?)}
|
[react/view {:style (styles/text-wrapper top 1.0 window-width pending?)
|
||||||
|
:accessibility-label :connection-status-text}
|
||||||
[react/text {:style styles/text
|
[react/text {:style styles/text
|
||||||
:on-press (when mailserver-error?
|
:on-press (when mailserver-error?
|
||||||
#(re-frame/dispatch [:inbox/reconnect]))}
|
#(re-frame/dispatch [:inbox/reconnect]))}
|
||||||
|
|
Loading…
Reference in New Issue