From c43dd2ec20423af3d82850f800f60392b2bf297a Mon Sep 17 00:00:00 2001 From: andrey Date: Fri, 23 Jul 2021 12:48:59 +0200 Subject: [PATCH] [#12321] No redirect from "Confirm the passcode" screen while resetting Keycard with the mnemonic if card was frozen during tx signing Signed-off-by: andrey --- src/status_im/keycard/backup_key.cljs | 2 ++ src/status_im/keycard/login.cljs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/status_im/keycard/backup_key.cljs b/src/status_im/keycard/backup_key.cljs index 8c487d512d..61e2e10301 100644 --- a/src/status_im/keycard/backup_key.cljs +++ b/src/status_im/keycard/backup_key.cljs @@ -16,6 +16,8 @@ (fx/merge cofx {:db (-> db (assoc-in [:keycard :creating-backup?] backup-type))} + (when-not (:multiaccounts/login db) + (navigation/change-tab :profile)) (navigation/navigate-to-cofx :seed-phrase nil))) (fx/defn recovery-card-pressed diff --git a/src/status_im/keycard/login.cljs b/src/status_im/keycard/login.cljs index f3f6d9bbcb..5181254d25 100644 --- a/src/status_im/keycard/login.cljs +++ b/src/status_im/keycard/login.cljs @@ -66,6 +66,8 @@ :error nil :status nil)) :hide-popover nil}) + (when-not (:multiaccounts/login db) + (navigation/change-tab :profile)) (when-not (:multiaccounts/login db) (if (:popover/popover db) (navigation/navigate-replace :keycard-pin nil)