mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
feat(core/ui): continue after viewing all data
[no changelog]
This commit is contained in:
parent
c25b4bcdd4
commit
4e780f5403
@ -600,7 +600,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)],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -614,9 +614,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
|
||||||
|
|
||||||
|
|
||||||
def confirm_address(
|
def confirm_address(
|
||||||
|
Loading…
Reference in New Issue
Block a user