From a62d19c7bbfcc5de65d9aac94444edf1368431fe Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Fri, 28 Apr 2017 07:29:36 +0300 Subject: [PATCH] :update-suggestions after command'sloading --- src/status_im/commands/handlers/loading.cljs | 4 ++-- src/status_im/utils/js_resources.cljs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/status_im/commands/handlers/loading.cljs b/src/status_im/commands/handlers/loading.cljs index 8fbc94f6a9..f657efd7e5 100644 --- a/src/status_im/commands/handlers/loading.cljs +++ b/src/status_im/commands/handlers/loading.cljs @@ -174,8 +174,8 @@ (reg-handler ::add-commands [(after save-commands-js!) (after save-global-command!) - ;;(after #(dispatch [:check-and-open-dapp!])) - ;;(after #(dispatch [:update-suggestions])) + (after #(dispatch [:check-and-open-dapp!])) + (after #(dispatch [:update-suggestions])) (after (fn [_ [id]] (dispatch [:invoke-commands-loading-callbacks id]) (dispatch [:invoke-chat-loaded-callbacks id]))) diff --git a/src/status_im/utils/js_resources.cljs b/src/status_im/utils/js_resources.cljs index 89785068a4..f319c35dbb 100644 --- a/src/status_im/utils/js_resources.cljs +++ b/src/status_im/utils/js_resources.cljs @@ -48,3 +48,4 @@ (defn web3-init [provider-address] (str "var providerAddress = \"" provider-address "\";" (slurp "resources/web3_init.js"))) + ;; \ No newline at end of file