1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-28 03:08:30 +00:00

Passphrase modal: show only 1 input if device is remembered OR was already authenticated

This commit is contained in:
Szymon Lesisz 2018-08-17 11:23:08 +02:00
parent e50a948713
commit 5987c0dbcd

View File

@ -39,7 +39,7 @@ export default class PinModal extends Component<Props, State> {
let singleInput = false;
if (selected && selected.path === device.path) {
deviceLabel = selected.instanceLabel;
singleInput = selected.remember;
singleInput = selected.remember || selected.state !== null;
}
this.state = {