[#8321] Change or remove back button from DApp browser screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
78754dfdee
commit
8e3624e87b
|
@ -58,10 +58,10 @@
|
||||||
[toolbar.view/toolbar
|
[toolbar.view/toolbar
|
||||||
{:browser? true}
|
{:browser? true}
|
||||||
[toolbar.view/nav-button
|
[toolbar.view/nav-button
|
||||||
(actions/back (fn []
|
(actions/close (fn []
|
||||||
(re-frame/dispatch [:navigate-back])
|
(re-frame/dispatch [:navigate-back])
|
||||||
(when error?
|
(when error?
|
||||||
(re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))]
|
(re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))]
|
||||||
[toolbar-content url url-original browser url-editing?]])
|
[toolbar-content url url-original browser url-editing?]])
|
||||||
|
|
||||||
(defn- web-view-error [_ code desc]
|
(defn- web-view-error [_ code desc]
|
||||||
|
|
Loading…
Reference in New Issue