1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

firmware: get_entropy text wrapping

This commit is contained in:
mcudev 2017-11-06 10:09:22 -05:00 committed by Jan Pochyla
parent f8c6043325
commit e3a87b8ea4

View File

@ -20,7 +20,7 @@ async def _show_entropy(ctx):
from trezor.ui.container import Container
from ..common.confirm import require_confirm
content = Container(
Text('Confirm entropy', ui.ICON_RESET, ui.MONO, 'Do you really want to send entropy?'))
await require_confirm(ctx, content, code=ProtectCall)
await require_confirm(ctx, Text(
'Confirm entropy', ui.ICON_RESET,
ui.BOLD, 'Do you really want', 'to send entropy?',
ui.NORMAL, 'Continue only if you', 'know what you are doing!'),code=ProtectCall)