From f558e94e9982bcba84a25b8db484ed99a7dac624 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Sat, 22 Sep 2018 11:05:01 +0300 Subject: [PATCH] reduce touching area for Privacy Policy link --- .../ui/screens/privacy_policy/views.cljs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/status_im/ui/screens/privacy_policy/views.cljs b/src/status_im/ui/screens/privacy_policy/views.cljs index ecbcffb4d9..6ba8d15309 100644 --- a/src/status_im/ui/screens/privacy_policy/views.cljs +++ b/src/status_im/ui/screens/privacy_policy/views.cljs @@ -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)]]])