[fix 5857] navigate-to home when deleting chat

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
yenda 2018-09-26 15:10:50 +02:00
parent e1c0dff406
commit a4cb8b7259
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@
(defn remove-chat-and-navigate-home [cofx [_ chat-id]] (defn remove-chat-and-navigate-home [cofx [_ chat-id]]
(fx/merge cofx (fx/merge cofx
(models/remove-chat chat-id) (models/remove-chat chat-id)
(navigation/replace-view :home))) (navigation/navigate-to-cofx :home {})))
(handlers/register-handler-fx (handlers/register-handler-fx
:remove-chat-and-navigate-home :remove-chat-and-navigate-home