fix: adjust spacing and verbiage for terms-of-use and privacy-statement onboarding checkbox
This commit is contained in:
parent
0f9d276032
commit
8241afaeea
|
@ -7,15 +7,19 @@
|
|||
:justify-content :flex-end})
|
||||
|
||||
(def text-container
|
||||
{:flex 1
|
||||
:flex-direction :row
|
||||
:flex-wrap :wrap
|
||||
:align-self :center})
|
||||
{:flex-direction :row
|
||||
:flex-wrap :wrap})
|
||||
|
||||
(def text-aligner
|
||||
{:flex 1
|
||||
:flex-direction :row
|
||||
:justify-content :center})
|
||||
|
||||
(def terms-privacy-container
|
||||
{:gap 8
|
||||
{:flex-direction :row
|
||||
:padding-horizontal 20
|
||||
:padding-vertical 8})
|
||||
:padding-vertical 8
|
||||
:gap 8})
|
||||
|
||||
(def plain-text
|
||||
{:color colors/white-opa-70})
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
:actions :two-vertical-actions
|
||||
:description :top
|
||||
:description-top-text [rn/view
|
||||
{:style style/terms-privacy-container
|
||||
:flex-direction :row}
|
||||
{:style style/terms-privacy-container}
|
||||
[rn/view
|
||||
{:accessibility-label :terms-privacy-checkbox-container}
|
||||
[quo/selectors
|
||||
|
@ -30,7 +29,7 @@
|
|||
:blur? true
|
||||
:checked? terms-accepted?
|
||||
:on-change #(set-terms-accepted? not)}]]
|
||||
[rn/view {:style {:flex 1}}
|
||||
[rn/view {:style style/text-aligner}
|
||||
[rn/view {:style style/text-container}
|
||||
[quo/text
|
||||
{:style style/plain-text
|
||||
|
@ -47,7 +46,7 @@
|
|||
[quo/text
|
||||
{:style style/plain-text
|
||||
:size :paragraph-2}
|
||||
" & "]
|
||||
" " (i18n/label :t/and) " "]
|
||||
[quo/text
|
||||
{:on-press #(rf/dispatch [:show-bottom-sheet
|
||||
{:content (fn [] [privacy/privacy-statement])
|
||||
|
|
Loading…
Reference in New Issue