[#10784] Fix kk multiacc creation after closing app
This commit is contained in:
parent
5101d4d6a5
commit
bda7386747
|
@ -373,9 +373,11 @@
|
||||||
(fx/defn get-application-info
|
(fx/defn get-application-info
|
||||||
{:events [:hardwallet/get-application-info]}
|
{:events [:hardwallet/get-application-info]}
|
||||||
[{:keys [db]} pairing on-card-read]
|
[{:keys [db]} pairing on-card-read]
|
||||||
(let [key-uid (get-in
|
(let [key-uid
|
||||||
|
(when-not (:intro-wizard db)
|
||||||
|
(get-in
|
||||||
db [:hardwallet :application-info :key-uid]
|
db [:hardwallet :application-info :key-uid]
|
||||||
(get-in db [:multiaccounts/login :key-uid]))
|
(get-in db [:multiaccounts/login :key-uid])))
|
||||||
pairing' (or pairing (some->> key-uid (get-pairing db)))]
|
pairing' (or pairing (some->> key-uid (get-pairing db)))]
|
||||||
(log/debug "[hardwallet] get-application-info"
|
(log/debug "[hardwallet] get-application-info"
|
||||||
"pairing" pairing')
|
"pairing" pairing')
|
||||||
|
|
Loading…
Reference in New Issue