mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 05:28:40 +00:00
Fix use_passphrase setting in storage.py.
This commit is contained in:
parent
4246d7f6cd
commit
a19446fabd
@ -168,7 +168,8 @@ def load_settings(
|
|||||||
) -> None:
|
) -> None:
|
||||||
if label is not None:
|
if label is not None:
|
||||||
config.set(_APP, _LABEL, label.encode(), True) # public
|
config.set(_APP, _LABEL, label.encode(), True) # public
|
||||||
_set_bool(_APP, _USE_PASSPHRASE, use_passphrase)
|
if use_passphrase is not None:
|
||||||
|
_set_bool(_APP, _USE_PASSPHRASE, use_passphrase)
|
||||||
if homescreen is not None:
|
if homescreen is not None:
|
||||||
if homescreen[:8] == b"TOIf\x90\x00\x90\x00":
|
if homescreen[:8] == b"TOIf\x90\x00\x90\x00":
|
||||||
if len(homescreen) <= HOMESCREEN_MAXSIZE:
|
if len(homescreen) <= HOMESCREEN_MAXSIZE:
|
||||||
|
Loading…
Reference in New Issue
Block a user