[fix 5857] navigate-to home when deleting chat
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
e1c0dff406
commit
a4cb8b7259
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue