Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
parent
58d358125c
commit
b67ecacd8b
|
@ -14,7 +14,8 @@
|
|||
{:db (-> db
|
||||
(assoc-in [:keycard :pin :enter-step] :export-key)
|
||||
(update-in [:keycard :pin] dissoc :export-key)
|
||||
(assoc :keycard/new-account-sheet? true))}))
|
||||
(assoc :keycard/new-account-sheet? true))
|
||||
:dismiss-keyboard nil}))
|
||||
|
||||
(fx/defn verify-pin-with-delay
|
||||
[cofx]
|
||||
|
|
|
@ -203,6 +203,5 @@
|
|||
(re-frame/reg-sub
|
||||
:keycard/frozen-card?
|
||||
(fn [db]
|
||||
(let [{:keys [pin-retry-counter]}
|
||||
(get-in db [:keycard :application-info])]
|
||||
(zero? pin-retry-counter))))
|
||||
(and (common/keycard-multiaccount? db)
|
||||
(zero? (get-in db [:keycard :application-info :pin-retry-counter])))))
|
||||
|
|
Loading…
Reference in New Issue