mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-07 14:00:57 +00:00
feat(core/ui): continue after viewing all data
[no changelog]
This commit is contained in:
parent
a816647b09
commit
f62acbe725
@ -614,7 +614,7 @@ async def _confirm_ask_pagination(
|
|||||||
|
|
||||||
confirm_more_layout = trezorui2.confirm_more(
|
confirm_more_layout = trezorui2.confirm_more(
|
||||||
title=title,
|
title=title,
|
||||||
button="GO BACK",
|
button=TR.buttons__confirm,
|
||||||
items=[(ui.BOLD_UPPER, f"Size: {len(data)} bytes"), (ui.MONO, data)],
|
items=[(ui.BOLD_UPPER, f"Size: {len(data)} bytes"), (ui.MONO, data)],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -628,9 +628,11 @@ async def _confirm_ask_pagination(
|
|||||||
):
|
):
|
||||||
return
|
return
|
||||||
|
|
||||||
await interact(confirm_more_layout, br_name, br_code, raise_on_cancel=None)
|
try:
|
||||||
|
await raise_if_not_confirmed(confirm_more_layout, br_name, br_code)
|
||||||
assert False
|
break
|
||||||
|
except ActionCancelled:
|
||||||
|
continue
|
||||||
|
|
||||||
|
|
||||||
if not utils.BITCOIN_ONLY:
|
if not utils.BITCOIN_ONLY:
|
||||||
|
Loading…
Reference in New Issue
Block a user