[#8239] App crash when submit cryptokitties with different than it's valid domain

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2019-05-22 13:53:11 +02:00
parent 7a1cb54b2a
commit 8c349a3038
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
1 changed files with 5 additions and 8 deletions

View File

@ -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?