reduce touching area for Privacy Policy link

This commit is contained in:
Roman Volosovskyi 2018-09-22 11:05:01 +03:00
parent 41347ae5e0
commit f558e94e99
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 7 additions and 8 deletions

View File

@ -5,11 +5,10 @@
[re-frame.core :as re-frame]))
(defn privacy-policy-button []
[react/touchable-highlight
{:on-press #(re-frame/dispatch [:privacy-policy/privacy-policy-button-pressed])}
[react/view styles/privacy-policy-button-container
[react/text {:style styles/privacy-policy-button-text-gray}
(i18n/label :t/agree-by-continuing)
[react/text
{:style styles/privacy-policy-button-text}
(i18n/label :t/privacy-policy)]]]])
[react/view styles/privacy-policy-button-container
[react/text {:style styles/privacy-policy-button-text-gray
:on-press #(re-frame/dispatch [:privacy-policy/privacy-policy-button-pressed])}
(i18n/label :t/agree-by-continuing)
[react/text
{:style styles/privacy-policy-button-text}
(i18n/label :t/privacy-policy)]]])