mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
apps.management: align dots in reset_device
This commit is contained in:
parent
00c4da83b9
commit
8b49e04ade
@ -162,7 +162,7 @@ async def show_mnemonic(ctx, mnemonic: str):
|
|||||||
|
|
||||||
@ui.layout
|
@ui.layout
|
||||||
async def show_mnemonic_page(page: int, page_count: int, pages: list):
|
async def show_mnemonic_page(page: int, page_count: int, pages: list):
|
||||||
lines = ['%d. %s' % (wi + 1, word) for wi, word in pages[page]]
|
lines = ['%2d. %s' % (wi + 1, word) for wi, word in pages[page]]
|
||||||
content = Text('Recovery seed', ui.ICON_RESET, ui.MONO, *lines)
|
content = Text('Recovery seed', ui.ICON_RESET, ui.MONO, *lines)
|
||||||
content = Scrollpage(content, page, page_count)
|
content = Scrollpage(content, page, page_count)
|
||||||
ui.display.clear()
|
ui.display.clear()
|
||||||
|
Loading…
Reference in New Issue
Block a user