mirror of
https://github.com/status-im/status-react.git
synced 2025-02-17 21:38:07 +00:00
Add accessibility-id for buttons 'Enable Biometrics' page
Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
parent
3e8647d626
commit
b87b3083a3
@ -24,12 +24,14 @@
|
|||||||
profile-color (:color (rf/sub [:onboarding-2/profile]))]
|
profile-color (:color (rf/sub [:onboarding-2/profile]))]
|
||||||
[rn/view {:style (style/buttons insets)}
|
[rn/view {:style (style/buttons insets)}
|
||||||
[quo/button
|
[quo/button
|
||||||
{:on-press #(rf/dispatch [:onboarding-2/enable-biometrics])
|
{:accessibility-label :enable-biometrics-button
|
||||||
|
:on-press #(rf/dispatch [:onboarding-2/enable-biometrics])
|
||||||
:before :i/face-id
|
:before :i/face-id
|
||||||
:override-background-color (colors/custom-color profile-color 50)}
|
:override-background-color (colors/custom-color profile-color 50)}
|
||||||
(i18n/label :t/biometric-enable-button {:bio-type-label bio-type-label})]
|
(i18n/label :t/biometric-enable-button {:bio-type-label bio-type-label})]
|
||||||
[quo/button
|
[quo/button
|
||||||
{:on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
|
{:accessibility-label :maybe-later-button
|
||||||
|
:on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
|
||||||
:override-background-color colors/white-opa-5
|
:override-background-color colors/white-opa-5
|
||||||
:style {:margin-top 12}}
|
:style {:margin-top 12}}
|
||||||
(i18n/label :t/maybe-later)]]))
|
(i18n/label :t/maybe-later)]]))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user