1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-23 06:48:16 +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 trezor.ui.container import Container
from ..common.confirm import require_confirm from ..common.confirm import require_confirm
content = Container( await require_confirm(ctx, Text(
Text('Confirm entropy', ui.ICON_RESET, ui.MONO, 'Do you really want to send entropy?')) 'Confirm entropy', ui.ICON_RESET,
ui.BOLD, 'Do you really want', 'to send entropy?',
await require_confirm(ctx, content, code=ProtectCall) ui.NORMAL, 'Continue only if you', 'know what you are doing!'),code=ProtectCall)