From cefccb91d80141cc8035f234d9f2b7d58d47ff36 Mon Sep 17 00:00:00 2001 From: chren Date: Thu, 9 Jun 2016 14:31:16 +0200 Subject: [PATCH] wipe device screen layout --- src/apps/management/layout_wipe_device.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apps/management/layout_wipe_device.py b/src/apps/management/layout_wipe_device.py index 1aa658cc01..fd8b5d23d4 100644 --- a/src/apps/management/layout_wipe_device.py +++ b/src/apps/management/layout_wipe_device.py @@ -8,8 +8,10 @@ from trezor.workflows.confirm import confirm def layout_wipe_device(message): ui.clear() - ui.display.text_center(120, 40, 'Really wipe device?', ui.BOLD, ui.WHITE, ui.BLACK) - ui.display.text_center(120, 100, 'You might regret it!', ui.NORMAL, ui.WHITE, ui.BLACK) + ui.display.text(10, 30, 'Wipe device', ui.BOLD, ui.LIGHT_GREEN, ui.BLACK) + ui.display.text(10, 74, 'Do you really want to', ui.BOLD, ui.WHITE, ui.BLACK) + ui.display.text(10, 104, 'wipe the device?', ui.BOLD, ui.WHITE, ui.BLACK) + ui.display.text(10, 164, 'All data will be lost.', ui.NORMAL, ui.WHITE, ui.BLACK) confirmed = yield from confirm()