             [status-im.ui.components.chat-icon.screen :as chat-icon.screen]
             [status-im.ui.components.icons.vector-icons :as vector-icons]
             [status-im.i18n :as i18n]
-            [status-im.utils.ethereum.core :as ethereum]))
+            [status-im.utils.ethereum.core :as ethereum]
+            [status-im.ui.components.toolbar.actions :as actions]))
 
 (views/defview toolbar-content-dapp [contact-identity]
   (views/letsubs [contact [:get-contact-by-identity contact-identity]]

    [react/keyboard-avoiding-view styles/browser
     [status-bar/status-bar]
     [toolbar.view/toolbar {}
      (toolbar.view/nav-back-count)
      (if dapp?
        [toolbar-content-dapp contact]
        [toolbar-content browser])]


(defn on-navigation-change [event browser]
  (let [{:strs [url canGoBack canGoForward]} (js->clj event)]
    (when (and (not (:dapp? browser)) (not= "about:blank" url))
      (re-frame/dispatch [:update-browser (assoc browser :url url)]))
    (re-frame/dispatch [:update-browser-options {:can-go-back? canGoBack :can-go-forward? canGoForward}])))

