mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-18 13:38:12 +00:00
nem: trim fix
This commit is contained in:
parent
9477cd15ea
commit
ed963743e9
@ -19,7 +19,6 @@ from ..layout import (
|
|||||||
require_confirm_fee,
|
require_confirm_fee,
|
||||||
require_confirm_final,
|
require_confirm_final,
|
||||||
require_confirm_text,
|
require_confirm_text,
|
||||||
trim,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
from apps.common.layout import split_address
|
from apps.common.layout import split_address
|
||||||
@ -100,7 +99,7 @@ def _get_mosaic_properties(definition: NEMMosaicDefinition):
|
|||||||
if definition.description:
|
if definition.description:
|
||||||
t = Text("Confirm properties", ui.ICON_SEND)
|
t = Text("Confirm properties", ui.ICON_SEND)
|
||||||
t.bold("Description:")
|
t.bold("Description:")
|
||||||
t.normal(*split_words(trim(definition.description, 70), 22))
|
t.normal(*split_words(definition.description, 22))
|
||||||
properties.append(t)
|
properties.append(t)
|
||||||
|
|
||||||
# transferable
|
# transferable
|
||||||
|
Loading…
Reference in New Issue
Block a user