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

pull/25/head
Pavol Rusnak 6 years ago
parent f20febeef0
commit 81e31afc58
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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(

Loading…
Cancel
Save