From e8c44632abd59df74d177385774da5063ba65f07 Mon Sep 17 00:00:00 2001 From: Parvesh Monu Date: Tue, 15 Nov 2022 03:29:03 +0530 Subject: [PATCH] fix community channel back button (#14358) --- src/status_im/chat/models.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im/chat/models.cljs b/src/status_im/chat/models.cljs index 7f588646e4..fea2b28d80 100644 --- a/src/status_im/chat/models.cljs +++ b/src/status_im/chat/models.cljs @@ -252,7 +252,8 @@ (fx/merge cofx {:dispatch [:navigate-to :chat]} (navigation/change-tab :chat) - (navigation/pop-to-root-tab :chat-stack) + (when-not (= (:view-id db) :community) + (navigation/pop-to-root-tab :chat-stack)) (close-chat) (force-close-chat chat-id) (fn [{:keys [db]}]