From 7797e117d326fdd0c970fd41f3161ad8ccdb70a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ioan=20Biz=C4=83u?= Date: Mon, 25 Nov 2024 16:53:10 +0100 Subject: [PATCH] fix(core/ui): fix paginated data size mismatch --- core/.changelog.d/4302.fixed | 1 + core/src/trezor/ui/layouts/tr/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 core/.changelog.d/4302.fixed diff --git a/core/.changelog.d/4302.fixed b/core/.changelog.d/4302.fixed new file mode 100644 index 00000000000..0bd769b5038 --- /dev/null +++ b/core/.changelog.d/4302.fixed @@ -0,0 +1 @@ +[T3B1] Fix data size mismatch when confirming a blob. diff --git a/core/src/trezor/ui/layouts/tr/__init__.py b/core/src/trezor/ui/layouts/tr/__init__.py index ba28455fb80..44708233075 100644 --- a/core/src/trezor/ui/layouts/tr/__init__.py +++ b/core/src/trezor/ui/layouts/tr/__init__.py @@ -601,7 +601,7 @@ async def _confirm_ask_pagination( confirm_more_layout = trezorui2.confirm_more( title=title, button=TR.buttons__confirm, - items=[(ui.BOLD_UPPER, f"Size: {len(data)} bytes"), (ui.MONO, data)], + items=[(ui.NORMAL, description), (ui.MONO, data)], ) while True: