chore: add unique accessibility id to terms-of-use and privacy-statement checkbox

This commit is contained in:
Sean Hagstrom 2024-08-13 14:16:30 +01:00
parent 2003f64bed
commit ff954f72c9
No known key found for this signature in database
GPG Key ID: 5257FEDF56307320
1 changed files with 6 additions and 4 deletions

View File

@ -23,10 +23,12 @@
:description-top-text [rn/view
{:style style/terms-privacy-container
:flex-direction :row}
[quo/selectors
{:type :checkbox
:checked? terms-accepted?
:on-change #(set-terms-accepted? not)}]
[rn/view
{:accessibility-label :terms-privacy-checkbox-container}
[quo/selectors
{:type :checkbox
:checked? terms-accepted?
:on-change #(set-terms-accepted? not)}]]
[rn/view {:style {:flex 1}}
[quo/text
{:style style/text-container