bugfix: yikes when showing change in address explorer if both NFC and VDisk OFF

This commit is contained in:
scgbckbone 2024-05-27 15:46:26 +02:00 committed by doc-hex
parent af3a2712cc
commit ca819b7dfd
3 changed files with 5 additions and 5 deletions

View File

@ -9,14 +9,14 @@ This lists the new changes that have not yet been published in a normal release.
# Mk4 Specific Changes
## 5.3.1 - 2024-05-09
## 5.3.2 - 2024-06-XX
- none, just above fixes
- Bugfix: Displaying change address in Address Explorer fails if NFC and Vdisk not enabled
# Q Specific Changes
## 1.2.1Q - 2024-05-09
## 1.2.2Q - 2024-06-XX
- none, just above fixes

View File

@ -332,7 +332,7 @@ Press (3) if you really understand and accept these risks.
else:
escape += "79"
if start == self.start:
if export_msg and start == self.start:
# Show CTA about export at bottom, and only for first page -- it can be huge!
msg += export_msg
if n:

View File

@ -391,7 +391,7 @@ def export_prompt_builder(what_it_is, no_qr=False, no_nfc=False, key0=None):
prompt, escape = None, KEY_CANCEL+"x"
if (NFC or VD) or num_sd_slots>1 or key0:
if (NFC or VD) or (num_sd_slots>1) or key0:
# no need to spam with another prompt, only option is SD card
prompt = "Press (1) to save %s to SD Card" % what_it_is