Skip to content

Commit

Permalink
make password-disclaimer tappable
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Apr 26, 2023
1 parent 0ca6ee3 commit e0f61d4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/status_im2/contexts/onboarding/create_password/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,12 @@

[rn/view {:style style/bottom-part}
[rn/view {:style style/disclaimer-container}
[quo/disclaimer
{:blur? true
:on-change #(reset! accepts-disclaimer? %)
:checked? @accepts-disclaimer?}
(i18n/label :t/password-creation-disclaimer)]]
[rn/touchable-opacity {:on-press #(swap! accepts-disclaimer? not)}
[quo/disclaimer
{:blur? true
:on-change #(reset! accepts-disclaimer? %)
:checked? @accepts-disclaimer?}
(i18n/label :t/password-creation-disclaimer)]]]

(when (= @focused-input :password)
[help
Expand Down

0 comments on commit e0f61d4

Please sign in to comment.