diff --git a/src/status_im/ui/screens/browser/site_blocked/views.cljs b/src/status_im/ui/screens/browser/site_blocked/views.cljs index 62afc1c193..3be32a8fa0 100644 --- a/src/status_im/ui/screens/browser/site_blocked/views.cljs +++ b/src/status_im/ui/screens/browser/site_blocked/views.cljs @@ -8,11 +8,6 @@ [status-im.ui.screens.browser.site-blocked.styles :as styles]) (:require-macros [status-im.utils.views :as views])) -(defn chat-link [] - [react/text {:on-press #(.openURL react/linking "status-im://chat/public/status") - :style styles/chat-link-text} - "#status"]) - (views/defview view [{:keys [can-go-back?]}] [react/scroll-view {:keyboard-should-persist-taps :always :bounces false @@ -21,10 +16,12 @@ [vector-icons/icon :main-icons/info {:color colors/red}] [react/text {:style styles/title-text} (i18n/label :t/browsing-site-blocked-title)] - [react/text {:style styles/description-text} + [react/nested-text {:style styles/description-text} (i18n/label :t/browsing-site-blocked-description1) - [chat-link] - [react/text (i18n/label :t/browsing-site-blocked-description2)]] + [{:on-press #(.openURL react/linking "status-im://chat/public/status") + :style styles/chat-link-text} + "#status"] + (i18n/label :t/browsing-site-blocked-description2)] [react/view styles/buttons-container [components.common/button {:on-press (fn [] (let [handler (if can-go-back?