Fix webview toggle crash ios
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
f5034a4dfa
commit
316c6038d7
|
@ -9,6 +9,7 @@
|
||||||
[status-im.utils.theme :as utils.theme]
|
[status-im.utils.theme :as utils.theme]
|
||||||
[status-im.theme.core :as theme]
|
[status-im.theme.core :as theme]
|
||||||
[status-im.utils.utils :as utils]
|
[status-im.utils.utils :as utils]
|
||||||
|
[quo.platform :as platform]
|
||||||
[clojure.string :as string]))
|
[clojure.string :as string]))
|
||||||
|
|
||||||
(defn contact-names
|
(defn contact-names
|
||||||
|
@ -68,7 +69,8 @@
|
||||||
(re-frame/reg-fx
|
(re-frame/reg-fx
|
||||||
::webview-debug-changed
|
::webview-debug-changed
|
||||||
(fn [value]
|
(fn [value]
|
||||||
(native-module/toggle-webview-debug value)))
|
(when platform/android?
|
||||||
|
(native-module/toggle-webview-debug value))))
|
||||||
|
|
||||||
(re-frame/reg-fx
|
(re-frame/reg-fx
|
||||||
::blank-preview-flag-changed
|
::blank-preview-flag-changed
|
||||||
|
|
Loading…
Reference in New Issue