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

View File

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