mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-05 21:10: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(
|
||||
title=title,
|
||||
button="GO BACK",
|
||||
button=TR.buttons__confirm,
|
||||
items=[(ui.BOLD_UPPER, f"Size: {len(data)} bytes"), (ui.MONO, data)],
|
||||
)
|
||||
|
||||
@ -628,9 +628,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
|
||||
|
||||
|
||||
if not utils.BITCOIN_ONLY:
|
||||
|
Loading…
Reference in New Issue
Block a user