mirror of
https://github.com/status-im/status-react.git
synced 2025-02-08 17:15:52 +00:00
Signed-off-by: Michele Balistreri <michele@bitgamma.com>
This commit is contained in:
parent
58d358125c
commit
b67ecacd8b
@ -14,7 +14,8 @@
|
|||||||
{:db (-> db
|
{:db (-> db
|
||||||
(assoc-in [:keycard :pin :enter-step] :export-key)
|
(assoc-in [:keycard :pin :enter-step] :export-key)
|
||||||
(update-in [:keycard :pin] dissoc :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
|
(fx/defn verify-pin-with-delay
|
||||||
[cofx]
|
[cofx]
|
||||||
|
@ -203,6 +203,5 @@
|
|||||||
(re-frame/reg-sub
|
(re-frame/reg-sub
|
||||||
:keycard/frozen-card?
|
:keycard/frozen-card?
|
||||||
(fn [db]
|
(fn [db]
|
||||||
(let [{:keys [pin-retry-counter]}
|
(and (common/keycard-multiaccount? db)
|
||||||
(get-in db [:keycard :application-info])]
|
(zero? (get-in db [:keycard :application-info :pin-retry-counter])))))
|
||||||
(zero? pin-retry-counter))))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user