From 0df5a59e875c82157124a6521fa1db68f393db86 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Wed, 10 May 2017 00:39:49 +0200 Subject: [PATCH] Fixes #1180 Cleanup navigation stack when creating public group --- src/status_im/new_group/handlers.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im/new_group/handlers.cljs b/src/status_im/new_group/handlers.cljs index 0f1c1c6b3b..de0a57dce3 100644 --- a/src/status_im/new_group/handlers.cljs +++ b/src/status_im/new_group/handlers.cljs @@ -116,7 +116,8 @@ (register-handler :create-new-public-group (after (fn [_ [_ topic]] - (dispatch [:navigation-replace :chat topic]))) + (dispatch [:navigate-to-clean :chat-list]) + (dispatch [:navigate-to :chat topic]))) (u/side-effect! (fn [db [_ topic]] (let [exists? (boolean (get-in db [:chats topic]))