fix: adjust spacing and verbiage for terms-of-use and privacy-statement onboarding checkbox
This commit is contained in:
parent
8638a2266d
commit
917f10955a
|
@ -13,9 +13,10 @@
|
||||||
:align-self :flex-start})
|
:align-self :flex-start})
|
||||||
|
|
||||||
(def terms-privacy-container
|
(def terms-privacy-container
|
||||||
{:gap 8
|
{:flex-direction :row
|
||||||
:padding-horizontal 20
|
:padding-horizontal 20
|
||||||
:padding-vertical 8})
|
:padding-vertical 8
|
||||||
|
:gap 8})
|
||||||
|
|
||||||
(def plain-text
|
(def plain-text
|
||||||
{:color colors/white-opa-70})
|
{:color colors/white-opa-70})
|
||||||
|
|
|
@ -21,8 +21,7 @@
|
||||||
:actions :two-vertical-actions
|
:actions :two-vertical-actions
|
||||||
:description :top
|
:description :top
|
||||||
:description-top-text [rn/view
|
:description-top-text [rn/view
|
||||||
{:style style/terms-privacy-container
|
{:style style/terms-privacy-container}
|
||||||
:flex-direction :row}
|
|
||||||
[rn/view
|
[rn/view
|
||||||
{:accessibility-label :terms-privacy-checkbox-container}
|
{:accessibility-label :terms-privacy-checkbox-container}
|
||||||
[quo/selectors
|
[quo/selectors
|
||||||
|
@ -30,7 +29,6 @@
|
||||||
:blur? true
|
:blur? true
|
||||||
:checked? terms-accepted?
|
:checked? terms-accepted?
|
||||||
:on-change #(set-terms-accepted? not)}]]
|
:on-change #(set-terms-accepted? not)}]]
|
||||||
[rn/view {:style {:flex 1}}
|
|
||||||
[rn/view {:style style/text-container}
|
[rn/view {:style style/text-container}
|
||||||
[quo/text
|
[quo/text
|
||||||
{:style style/plain-text
|
{:style style/plain-text
|
||||||
|
@ -47,7 +45,7 @@
|
||||||
[quo/text
|
[quo/text
|
||||||
{:style style/plain-text
|
{:style style/plain-text
|
||||||
:size :paragraph-2}
|
:size :paragraph-2}
|
||||||
" & "]
|
" " (i18n/label :t/and) " "]
|
||||||
[quo/text
|
[quo/text
|
||||||
{:on-press #(rf/dispatch [:show-bottom-sheet
|
{:on-press #(rf/dispatch [:show-bottom-sheet
|
||||||
{:content privacy/privacy-statement
|
{:content privacy/privacy-statement
|
||||||
|
@ -55,7 +53,7 @@
|
||||||
:style style/highlighted-text
|
:style style/highlighted-text
|
||||||
:size :paragraph-2
|
:size :paragraph-2
|
||||||
:weight :medium}
|
:weight :medium}
|
||||||
(i18n/label :t/intro-privacy-statement)]]]]
|
(i18n/label :t/intro-privacy-statement)]]]
|
||||||
:button-one-label (i18n/label :t/sync-or-recover-profile)
|
:button-one-label (i18n/label :t/sync-or-recover-profile)
|
||||||
:button-one-props {:type :dark-grey
|
:button-one-props {:type :dark-grey
|
||||||
:disabled? (not terms-accepted?)
|
:disabled? (not terms-accepted?)
|
||||||
|
|
Loading…
Reference in New Issue