[#4075] Clear invalid contact code error message when returning to the "Start new chat"

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
psdp 2018-05-08 06:20:47 +00:00 committed by Julien Eluard
parent 8a355b1e75
commit 7233a5f97d
No known key found for this signature in database
GPG Key ID: 6FD7DB5437FCBEF6
2 changed files with 7 additions and 0 deletions

View File

@ -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))

View File

@ -14,6 +14,7 @@
status-im.ui.screens.group.chat-settings.events status-im.ui.screens.group.chat-settings.events
status-im.ui.screens.group.events status-im.ui.screens.group.events
status-im.ui.screens.navigation 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.network-settings.events
status-im.ui.screens.profile.events status-im.ui.screens.profile.events
status-im.ui.screens.qr-scanner.events status-im.ui.screens.qr-scanner.events