1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-31 18:40:56 +00:00

src/apps: rely more on ui.layout clear

This commit is contained in:
Jan Pochyla 2018-02-26 18:40:44 +01:00
parent 20f1644ef9
commit fd95bb482e
3 changed files with 0 additions and 3 deletions

View File

@ -473,7 +473,6 @@ class ConfirmState:
content = ConfirmContent(self.action, self.app_id)
dialog = HoldToConfirmDialog(content)
ui.display.clear()
return await dialog == CONFIRMED

View File

@ -58,7 +58,6 @@ async def recovery_device(ctx, msg):
async def request_wordcount(ctx):
await ctx.call(ButtonRequest(code=Other), ButtonAck)
ui.display.clear()
content = Text('Device recovery', ui.ICON_RECOVERY, 'Number of words?')
select = WordSelector(content)
count = await select

View File

@ -165,7 +165,6 @@ async def show_mnemonic_page(page: int, page_count: int, pages: list):
lines = ['%2d. %s' % (wi + 1, word) for wi, word in pages[page]]
content = Text('Recovery seed', ui.ICON_RESET, ui.MONO, *lines)
content = Scrollpage(content, page, page_count)
ui.display.clear()
if page + 1 == page_count:
await HoldToConfirmDialog(content)