diff --git a/src/status_im/navigation/handlers.cljs b/src/status_im/navigation/handlers.cljs index ac1486eb6e..6d8ca1fc43 100644 --- a/src/status_im/navigation/handlers.cljs +++ b/src/status_im/navigation/handlers.cljs @@ -82,9 +82,8 @@ (defn show-profile [db [_ identity]] - (-> db - (assoc :contact-identity identity) - (push-view :profile))) + (dispatch [:navigate-forget :profile]) + (assoc db :contact-identity identity)) (register-handler :show-profile show-profile) diff --git a/src/status_im/profile/handlers.cljs b/src/status_im/profile/handlers.cljs index 6618668e92..ea71c85c52 100644 --- a/src/status_im/profile/handlers.cljs +++ b/src/status_im/profile/handlers.cljs @@ -9,7 +9,7 @@ (defn message-user [identity] (when identity - (dispatch [:navigate-to :chat identity]))) + (dispatch [:navigation-replace :chat identity]))) (register-handler :open-image-picker (u/side-effect!