fixed keycard crash on message signing and fixed height of bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
8ee1e3d643
commit
cdad34ed3d
|
@ -85,6 +85,6 @@
|
||||||
(assoc-in [:hardwallet :pin :enter-step] :sign)
|
(assoc-in [:hardwallet :pin :enter-step] :sign)
|
||||||
(assoc-in [:signing/sign :type] :keycard)
|
(assoc-in [:signing/sign :type] :keycard)
|
||||||
(assoc-in [:signing/sign :keycard-step] :pin))}
|
(assoc-in [:signing/sign :keycard-step] :pin))}
|
||||||
(if message
|
#(if message
|
||||||
(hash-message message nil)
|
(hash-message % message)
|
||||||
(hash-transaction)))))
|
(hash-transaction %)))))
|
||||||
|
|
|
@ -126,7 +126,7 @@
|
||||||
|
|
||||||
(defn- keycard-view
|
(defn- keycard-view
|
||||||
[{:keys [keycard-step]} phrase]
|
[{:keys [keycard-step]} phrase]
|
||||||
[react/view {:height 520}
|
[react/view
|
||||||
[signing-phrase-view phrase]
|
[signing-phrase-view phrase]
|
||||||
(case keycard-step
|
(case keycard-step
|
||||||
:pin [keycard-pin-view]
|
:pin [keycard-pin-view]
|
||||||
|
|
Loading…
Reference in New Issue