From a4cb8b72596a9863888744117249f55c53313201 Mon Sep 17 00:00:00 2001 From: yenda Date: Wed, 26 Sep 2018 15:10:50 +0200 Subject: [PATCH] [fix 5857] navigate-to home when deleting chat Signed-off-by: yenda --- src/status_im/chat/events.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/chat/events.cljs b/src/status_im/chat/events.cljs index e9ecd438b5..49a8d049b3 100644 --- a/src/status_im/chat/events.cljs +++ b/src/status_im/chat/events.cljs @@ -83,7 +83,7 @@ (defn remove-chat-and-navigate-home [cofx [_ chat-id]] (fx/merge cofx (models/remove-chat chat-id) - (navigation/replace-view :home))) + (navigation/navigate-to-cofx :home {}))) (handlers/register-handler-fx :remove-chat-and-navigate-home