App crash on empty password at confirmation (#644)
This commit is contained in:
parent
b28faa3115
commit
4a73facf4e
|
@ -27,7 +27,7 @@
|
|||
(assoc :transactions transactions-queue
|
||||
:wrong-password-counter 0
|
||||
:wrong-password? false)
|
||||
(assoc-in [:confirm-transactions :password] 0)))
|
||||
(assoc-in [:confirm-transactions :password] "")))
|
||||
|
||||
(defn on-unlock
|
||||
[ids password]
|
||||
|
|
|
@ -39,7 +39,8 @@
|
|||
:icon_ok
|
||||
:icon_ok_disabled_inversed)}
|
||||
:style icon-ok}
|
||||
:handler #(dispatch [:accept-transactions password])}]}]
|
||||
:handler (when-not (s/blank? password)
|
||||
#(dispatch [:accept-transactions password]))}]}]
|
||||
[view st/carousel-container
|
||||
[carousel {:pageStyle st/carousel-page-style
|
||||
:gap 8
|
||||
|
|
Loading…
Reference in New Issue