mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-02-23 04:52:01 +00:00
wipe device screen layout
This commit is contained in:
parent
cf77aeb029
commit
cefccb91d8
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user