fix ios keycard recovery pin error (#13924)
This commit is contained in:
parent
0300070c5a
commit
409f81a6f5
|
@ -403,9 +403,7 @@
|
||||||
:import-multiaccount []
|
:import-multiaccount []
|
||||||
:error-label :t/pin-mismatch))}
|
:error-label :t/pin-mismatch))}
|
||||||
(hide-connection-sheet)
|
(hide-connection-sheet)
|
||||||
(when (zero? pin-retries-count) (frozen-keycard-popup))
|
(when (zero? pin-retries-count) (frozen-keycard-popup)))
|
||||||
(when (= flow :import)
|
|
||||||
(navigation/navigate-to-cofx :keycard-recovery-pin nil)))
|
|
||||||
(show-wrong-keycard-alert)))))
|
(show-wrong-keycard-alert)))))
|
||||||
|
|
||||||
(fx/defn factory-reset
|
(fx/defn factory-reset
|
||||||
|
|
|
@ -152,8 +152,8 @@
|
||||||
[{:keys [retry-counter]}]
|
[{:keys [retry-counter]}]
|
||||||
(let [error-y-translation (animation/create-value -8)
|
(let [error-y-translation (animation/create-value -8)
|
||||||
error-opacity (animation/create-value 0)
|
error-opacity (animation/create-value 0)
|
||||||
retries-y-translation (animation/create-value (if retry-counter 8 0))
|
retries-y-translation (animation/create-value (if retry-counter 0 -8))
|
||||||
retries-opacity (animation/create-value (if retry-counter 0 1))
|
retries-opacity (animation/create-value (if retry-counter 1 0))
|
||||||
!error? (reagent/atom false)]
|
!error? (reagent/atom false)]
|
||||||
(reagent/create-class
|
(reagent/create-class
|
||||||
{:component-did-update
|
{:component-did-update
|
||||||
|
|
Loading…
Reference in New Issue