[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:
Eric Dvorsak 2018-05-25 11:25:45 +02:00 committed by Pedro Pombeiro
parent 957c09a55e
commit 954efd9dd7
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 2 additions and 1 deletions

View File

@ -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]))}