Skip to content

Commit

Permalink
disclaimer component fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vkjr committed Jun 28, 2024
1 parent be5cb3c commit fb39d6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/quo/components/selectors/disclaimer/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
[{:keys [checked? blur? accessibility-label container-style on-change icon customization-color]} label]
(let [theme (quo.theme/use-theme)]
[rn/touchable-without-feedback
{:on-press on-change
{:on-press (when on-change
#(on-change (not checked?)))
:accessibility-label :disclaimer-touchable-opacity}
[rn/view {:style (merge container-style (style/container blur? theme))}
[selectors/view
Expand Down

0 comments on commit fb39d6a

Please sign in to comment.