Skip to content

Commit b87b308

Browse files
Add accessibility-id for buttons 'Enable Biometrics' page
Signed-off-by: Brian Sztamfater <[email protected]>
1 parent 3e8647d commit b87b308

File tree

1 file changed

+5
-3
lines changed
  • src/status_im2/contexts/onboarding/enable_biometrics

1 file changed

+5
-3
lines changed

src/status_im2/contexts/onboarding/enable_biometrics/view.cljs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@
2424
profile-color (:color (rf/sub [:onboarding-2/profile]))]
2525
[rn/view {:style (style/buttons insets)}
2626
[quo/button
27-
{:on-press #(rf/dispatch [:onboarding-2/enable-biometrics])
27+
{:accessibility-label :enable-biometrics-button
28+
:on-press #(rf/dispatch [:onboarding-2/enable-biometrics])
2829
:before :i/face-id
2930
:override-background-color (colors/custom-color profile-color 50)}
3031
(i18n/label :t/biometric-enable-button {:bio-type-label bio-type-label})]
3132
[quo/button
32-
{:on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
33+
{:accessibility-label :maybe-later-button
34+
:on-press #(rf/dispatch [:onboarding-2/create-account-and-login])
3335
:override-background-color colors/white-opa-5
3436
:style {:margin-top 12}}
3537
(i18n/label :t/maybe-later)]]))
@@ -45,4 +47,4 @@
4547
[rn/view {:style style/page-illustration}
4648
[quo/text
4749
"Illustration here"]]
48-
[enable-biometrics-buttons {:insets insets}]]))])
50+
[enable-biometrics-buttons {:insets insets}]]))])

0 commit comments

Comments
 (0)