1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

src/apps/management: don't put ? on separate line

This commit is contained in:
Pavol Rusnak 2018-02-26 19:08:08 +01:00
parent f20febeef0
commit 81e31afc58
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -20,15 +20,13 @@ async def layout_apply_settings(ctx, msg):
await require_confirm(ctx, Text(
'Change label', ui.ICON_RESET,
'Do you really want to', 'change label to',
ui.BOLD, '%s' % msg.label,
ui.NORMAL, '?'))
ui.BOLD, '%s?' % msg.label)) # TODO: split label (bold) and '?' (normal) once we support mixed styles on one line
if msg.language is not None:
await require_confirm(ctx, Text(
'Change language', ui.ICON_RESET,
'Do you really want to', 'change language to',
ui.BOLD, '%s' % msg.language,
ui.NORMAL, '?'))
ui.BOLD, '%s?' % msg.language)) # TODO: split lang (bold) and '?' (normal) once we support mixed styles on one line
if msg.use_passphrase is not None:
await require_confirm(ctx, Text(