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:
Andrey Shovkoplyas 2020-05-04 14:54:59 +02:00
parent 8ee1e3d643
commit cdad34ed3d
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4
2 changed files with 4 additions and 4 deletions

View File

@ -85,6 +85,6 @@
(assoc-in [:hardwallet :pin :enter-step] :sign)
(assoc-in [:signing/sign :type] :keycard)
(assoc-in [:signing/sign :keycard-step] :pin))}
(if message
(hash-message message nil)
(hash-transaction)))))
#(if message
(hash-message % message)
(hash-transaction %)))))

View File

@ -126,7 +126,7 @@
(defn- keycard-view
[{:keys [keycard-step]} phrase]
[react/view {:height 520}
[react/view
[signing-phrase-view phrase]
(case keycard-step
:pin [keycard-pin-view]