Accessibility to block button

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Serhy 2020-06-19 18:15:24 +03:00 committed by Andrey Shovkoplyas
parent ceaf44b184
commit 095e8e0fc2
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
(i18n/label :t/block-contact-details)]
[react/view {:align-items :center :margin-top 16}
[quo/button {:theme :negative :disabled @in-progress? :loading @in-progress?
:accessibility-label :block-contact-confirm
:on-press #(do (reset! in-progress? true)
(re-frame/dispatch [:contact.ui/block-contact-confirmed public-key]))}
:t/block]