fix community channel back button (#14358)

This commit is contained in:
Parvesh Monu 2022-11-15 03:29:03 +05:30 committed by GitHub
parent c7d5e90882
commit e8c44632ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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]}]