[#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 <motor4ik@gmail.com>
This commit is contained in:
andrey 2021-07-23 12:48:59 +02:00
parent 6ee9f6a409
commit c43dd2ec20
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@
(fx/merge cofx (fx/merge cofx
{:db (-> db {:db (-> db
(assoc-in [:keycard :creating-backup?] backup-type))} (assoc-in [:keycard :creating-backup?] backup-type))}
(when-not (:multiaccounts/login db)
(navigation/change-tab :profile))
(navigation/navigate-to-cofx :seed-phrase nil))) (navigation/navigate-to-cofx :seed-phrase nil)))
(fx/defn recovery-card-pressed (fx/defn recovery-card-pressed

View File

@ -66,6 +66,8 @@
:error nil :error nil
:status nil)) :status nil))
:hide-popover nil}) :hide-popover nil})
(when-not (:multiaccounts/login db)
(navigation/change-tab :profile))
(when-not (:multiaccounts/login db) (when-not (:multiaccounts/login db)
(if (:popover/popover db) (if (:popover/popover db)
(navigation/navigate-replace :keycard-pin nil) (navigation/navigate-replace :keycard-pin nil)