From fa7b496a9a6c77fd8c82dbaa8208b4c8fecbd7e5 Mon Sep 17 00:00:00 2001 From: andrew Date: Wed, 9 Jan 2019 12:11:41 +0100 Subject: [PATCH] Revert changes to seed recovery dialog, to avoid tests failing. These changes were moved to the branch andrewkozlik/pin-messages. --- src/apps/management/recovery_device.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/apps/management/recovery_device.py b/src/apps/management/recovery_device.py index 702aec6d5a..4d3ca7ac5b 100644 --- a/src/apps/management/recovery_device.py +++ b/src/apps/management/recovery_device.py @@ -32,12 +32,8 @@ async def recovery_device(ctx, msg): if not msg.dry_run and storage.is_initialized(): raise wire.UnexpectedMessage("Already initialized") - if msg.dry_run: - text = Text("Check recovery seed", ui.ICON_RECOVERY) - text.normal("Do you really want to", "check your recovery", "seed?") - else: - text = Text("Recover wallet", ui.ICON_RECOVERY) - text.normal("Do you really want to", "restore a wallet from", "your backup?") + text = Text("Device recovery", ui.ICON_RECOVERY) + text.normal("Do you really want to", "recover the device?", "") await require_confirm(ctx, text, code=ProtectCall) @@ -81,7 +77,7 @@ async def recovery_device(ctx, msg): async def request_wordcount(ctx): await ctx.call(ButtonRequest(code=MnemonicWordCount), ButtonAck) - text = Text("Recovery seed", ui.ICON_RECOVERY) + text = Text("Device recovery", ui.ICON_RECOVERY) text.normal("Number of words?") count = await ctx.wait(WordSelector(text))