diff --git a/src/status_im/ui/screens/add_new/new_chat/navigation.cljs b/src/status_im/ui/screens/add_new/new_chat/navigation.cljs new file mode 100644 index 0000000000..39d5175b25 --- /dev/null +++ b/src/status_im/ui/screens/add_new/new_chat/navigation.cljs @@ -0,0 +1,6 @@ +(ns status-im.ui.screens.add-new.new-chat.navigation + (:require [status-im.ui.screens.navigation :as navigation])) + +(defmethod navigation/preload-data! :new-chat + [db _] + (assoc db :contacts/new-identity nil)) diff --git a/src/status_im/ui/screens/events.cljs b/src/status_im/ui/screens/events.cljs index f840819ed8..77c8ee9230 100644 --- a/src/status_im/ui/screens/events.cljs +++ b/src/status_im/ui/screens/events.cljs @@ -14,6 +14,7 @@ status-im.ui.screens.group.chat-settings.events status-im.ui.screens.group.events status-im.ui.screens.navigation + status-im.ui.screens.add-new.new-chat.navigation status-im.ui.screens.network-settings.events status-im.ui.screens.profile.events status-im.ui.screens.qr-scanner.events