Properly show text to enter pin or passphrase for trezor T

This commit is contained in:
nicolas.dorier 2019-12-04 17:23:10 +09:00
parent 544597348b
commit ab7c124302
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -128,9 +128,9 @@ var vaultui = (function () {
if (json.error === "need-pin-on-device" || json.error === "need-passphrase-on-device") {
handled = true;
if (json.error === "need-pin-on-device") {
showError(VaultFeedbacks.needPinOnDevice);
show(VaultFeedbacks.needPinOnDevice);
} else {
showError(VaultFeedbacks.needPassphraseOnDevice);
show(VaultFeedbacks.needPassphraseOnDevice);
}
await self.waitClickContinue();
self.bridge.socket.send("refresh-device");