Skip to content

Commit 9ff052b

Browse files
seanstromcammellos
authored andcommittedAug 26, 2024·
fix: remove extra layer of alignment for onboarding checkbox

File tree

1 file changed

+25
-26
lines changed
  • src/status_im/contexts/onboarding/intro

1 file changed

+25
-26
lines changed
 

‎src/status_im/contexts/onboarding/intro/view.cljs

+25-26
Original file line numberDiff line numberDiff line change
@@ -29,32 +29,31 @@
2929
:blur? true
3030
:checked? terms-accepted?
3131
:on-change #(set-terms-accepted? not)}]]
32-
[rn/view {:style style/text-aligner}
33-
[rn/view {:style style/text-container}
34-
[quo/text
35-
{:style style/plain-text
36-
:size :paragraph-2}
37-
(str (i18n/label :t/accept-status-tos-prefix) " ")]
38-
[quo/text
39-
{:on-press #(rf/dispatch [:show-bottom-sheet
40-
{:content terms/terms-of-use
41-
:shell? true}])
42-
:style style/highlighted-text
43-
:size :paragraph-2
44-
:weight :medium}
45-
(i18n/label :t/terms-of-service)]
46-
[quo/text
47-
{:style style/plain-text
48-
:size :paragraph-2}
49-
" " (i18n/label :t/and) " "]
50-
[quo/text
51-
{:on-press #(rf/dispatch [:show-bottom-sheet
52-
{:content privacy/privacy-statement
53-
:shell? true}])
54-
:style style/highlighted-text
55-
:size :paragraph-2
56-
:weight :medium}
57-
(i18n/label :t/intro-privacy-statement)]]]]
32+
[rn/view {:style style/text-container}
33+
[quo/text
34+
{:style style/plain-text
35+
:size :paragraph-2}
36+
(str (i18n/label :t/accept-status-tos-prefix) " ")]
37+
[quo/text
38+
{:on-press #(rf/dispatch [:show-bottom-sheet
39+
{:content terms/terms-of-use
40+
:shell? true}])
41+
:style style/highlighted-text
42+
:size :paragraph-2
43+
:weight :medium}
44+
(i18n/label :t/terms-of-service)]
45+
[quo/text
46+
{:style style/plain-text
47+
:size :paragraph-2}
48+
" " (i18n/label :t/and) " "]
49+
[quo/text
50+
{:on-press #(rf/dispatch [:show-bottom-sheet
51+
{:content privacy/privacy-statement
52+
:shell? true}])
53+
:style style/highlighted-text
54+
:size :paragraph-2
55+
:weight :medium}
56+
(i18n/label :t/intro-privacy-statement)]]]
5857
:button-one-label (i18n/label :t/sync-or-recover-profile)
5958
:button-one-props {:type :dark-grey
6059
:disabled? (not terms-accepted?)

0 commit comments

Comments
 (0)
Please sign in to comment.