1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00

nem: trim fix

This commit is contained in:
Tomas Susanka 2018-08-28 14:36:51 +02:00
parent 9477cd15ea
commit ed963743e9

View File

@ -19,7 +19,6 @@ from ..layout import (
require_confirm_fee,
require_confirm_final,
require_confirm_text,
trim,
)
from apps.common.layout import split_address
@ -100,7 +99,7 @@ def _get_mosaic_properties(definition: NEMMosaicDefinition):
if definition.description:
t = Text("Confirm properties", ui.ICON_SEND)
t.bold("Description:")
t.normal(*split_words(trim(definition.description, 70), 22))
t.normal(*split_words(definition.description, 22))
properties.append(t)
# transferable