1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 07:28:10 +00:00

feat(core/ui): continue after viewing all data

[no changelog]
This commit is contained in:
Ioan Bizău 2024-11-15 12:17:43 +01:00
parent c25b4bcdd4
commit 4e780f5403

View File

@ -600,7 +600,7 @@ async def _confirm_ask_pagination(
confirm_more_layout = trezorui2.confirm_more(
title=title,
button="GO BACK",
button=TR.buttons__confirm,
items=[(ui.BOLD_UPPER, f"Size: {len(data)} bytes"), (ui.MONO, data)],
)
@ -614,9 +614,11 @@ async def _confirm_ask_pagination(
):
return
await interact(confirm_more_layout, br_name, br_code, raise_on_cancel=None)
assert False
try:
await raise_if_not_confirmed(confirm_more_layout, br_name, br_code)
break
except ActionCancelled:
continue
def confirm_address(