From 8e3624e87b96f2c1fc7e1efc01922aa3c8a4f995 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Wed, 28 Aug 2019 09:45:41 +0300 Subject: [PATCH] [#8321] Change or remove back button from DApp browser screen Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/browser/views.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/status_im/ui/screens/browser/views.cljs b/src/status_im/ui/screens/browser/views.cljs index b5ea90907f..8fd5f3a631 100644 --- a/src/status_im/ui/screens/browser/views.cljs +++ b/src/status_im/ui/screens/browser/views.cljs @@ -58,10 +58,10 @@ [toolbar.view/toolbar {:browser? true} [toolbar.view/nav-button - (actions/back (fn [] - (re-frame/dispatch [:navigate-back]) - (when error? - (re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))] + (actions/close (fn [] + (re-frame/dispatch [:navigate-back]) + (when error? + (re-frame/dispatch [:browser.ui/remove-browser-pressed browser-id]))))] [toolbar-content url url-original browser url-editing?]]) (defn- web-view-error [_ code desc]