mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 02:35:54 +00:00
[#5449] Activity loading indicator persist staying on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com> Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
parent
a22d13fd80
commit
3ca9ba892c
@ -21,7 +21,8 @@
|
|||||||
[status-im.ui.components.styles :as components.styles]
|
[status-im.ui.components.styles :as components.styles]
|
||||||
[status-im.ui.components.colors :as colors]
|
[status-im.ui.components.colors :as colors]
|
||||||
[clojure.string :as string]
|
[clojure.string :as string]
|
||||||
[status-im.ui.screens.browser.permissions.views :as permissions.views]))
|
[status-im.ui.screens.browser.permissions.views :as permissions.views]
|
||||||
|
[status-im.utils.platform :as platform]))
|
||||||
|
|
||||||
(def browser-config
|
(def browser-config
|
||||||
(reader/read-string (slurp "./src/status_im/utils/browser_config.edn")))
|
(reader/read-string (slurp "./src/status_im/utils/browser_config.edn")))
|
||||||
@ -82,7 +83,8 @@
|
|||||||
|
|
||||||
(defn on-navigation-change [event browser]
|
(defn on-navigation-change [event browser]
|
||||||
(let [{:strs [url loading]} (js->clj event)]
|
(let [{:strs [url loading]} (js->clj event)]
|
||||||
(re-frame/dispatch [:update-browser-options {:loading? loading}])
|
(when platform/ios?
|
||||||
|
(re-frame/dispatch [:update-browser-options {:loading? loading}]))
|
||||||
(when (not= "about:blank" url)
|
(when (not= "about:blank" url)
|
||||||
(re-frame/dispatch [:update-browser-on-nav-change browser url loading]))))
|
(re-frame/dispatch [:update-browser-on-nav-change browser url loading]))))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user