mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-30 20:28:09 +00:00
Passphrase modal: show only 1 input if device is remembered OR was already authenticated
This commit is contained in:
parent
e50a948713
commit
5987c0dbcd
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user