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

View File

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