diff --git a/src/status_im/events.cljs b/src/status_im/events.cljs index 7eab1ecf85..0b76f87dc9 100644 --- a/src/status_im/events.cljs +++ b/src/status_im/events.cljs @@ -144,9 +144,8 @@ (conj {:ms 900 :dispatch [:navigate-to :create-community-channel (get-in db [:navigation/screen-params :create-community-channel])]}))] - - (navigation.core/dismiss-all-modals) - (when (or (nil? cur-theme) (zero? cur-theme)) + (when (and (some? root-id) (or (nil? cur-theme) (zero? cur-theme))) + (navigation.core/dismiss-all-modals) (fx/merge cofx (merge {::multiaccounts/switch-theme (if (= :dark theme) 2 1)}