From d432dc980e15434b8742bfe49f8e22e63bd73034 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Tue, 27 Aug 2019 11:38:52 +0300 Subject: [PATCH] don't use webview --- components/src/status_im/ui/components/react.cljs | 1 - fiddle/src/status_im/ui/components/react.cljs | 1 - src/status_im/ui/components/svgimage.cljs | 7 +++++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/components/src/status_im/ui/components/react.cljs b/components/src/status_im/ui/components/react.cljs index a6bdbc136c..2069e0da44 100644 --- a/components/src/status_im/ui/components/react.cljs +++ b/components/src/status_im/ui/components/react.cljs @@ -54,7 +54,6 @@ (def status-bar-class (when-not platform/desktop? (get-react-property "StatusBar"))) (def scroll-view-class (get-class "ScrollView")) -(def web-view (get-class "WebView")) (def keyboard-avoiding-view-class (get-class "KeyboardAvoidingView")) (def refresh-control (get-class "RefreshControl")) diff --git a/fiddle/src/status_im/ui/components/react.cljs b/fiddle/src/status_im/ui/components/react.cljs index 35f29c6b52..36e820c888 100644 --- a/fiddle/src/status_im/ui/components/react.cljs +++ b/fiddle/src/status_im/ui/components/react.cljs @@ -45,7 +45,6 @@ (def status-bar-class (get-web-class "StatusBar")) (def scroll-view-class (get-web-class "ScrollView")) -(def web-view nil) (def keyboard-avoiding-view-class (get-web-class "KeyboardAvoidingView")) (def refresh-control nil) diff --git a/src/status_im/ui/components/svgimage.cljs b/src/status_im/ui/components/svgimage.cljs index ce6669e961..09e6811b3f 100644 --- a/src/status_im/ui/components/svgimage.cljs +++ b/src/status_im/ui/components/svgimage.cljs @@ -2,13 +2,16 @@ (:require [status-im.ui.components.react :as react] [reagent.core :as reagent] [status-im.utils.platform :as platform] - [status-im.utils.http :as http])) + [status-im.utils.http :as http] + [status-im.ui.components.webview-bridge :as components.webview-bridge])) (defn html [uri width height] (str "\n + +