diff --git a/core/src/apps/common/layout.py b/core/src/apps/common/layout.py index d3fe8b478..f3625f8fa 100644 --- a/core/src/apps/common/layout.py +++ b/core/src/apps/common/layout.py @@ -47,7 +47,8 @@ async def show_qr( ) -> bool: QR_X = const(120) QR_Y = const(115) - QR_COEF = const(4) + QR_SIZE_THRESHOLD = const(63) + QR_COEF = const(4) if len(address) < QR_SIZE_THRESHOLD else const(3) qr = Qr(address, QR_X, QR_Y, QR_COEF) text = Text(desc, ui.ICON_RECEIVE, ui.GREEN) content = Container(qr, text)