mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-28 01:16:50 +00:00
fix user lands on the Home screen after closing a community opened from Discover Communities
This commit is contained in:
parent
6c352397ab
commit
7ff7e78691
@ -343,7 +343,7 @@
|
||||
(when (get-in db [:communities community-id :joined])
|
||||
[:dispatch
|
||||
[:activity-center.notifications/dismiss-community-overview community-id]])]}
|
||||
(when-not (or (= current-view-id :shell) (= current-view-id :communities-stack))
|
||||
(when-not (#{:shell :communities-stack :discover-communities} current-view-id)
|
||||
(navigation/pop-to-root :shell-stack))))))
|
||||
|
||||
(rf/reg-event-fx :communities/navigate-to-community-overview navigate-to-community-overview)
|
||||
|
Loading…
x
Reference in New Issue
Block a user