From c7c8d3c8a4a4868d09a33c09e80bfa17b23f787e Mon Sep 17 00:00:00 2001 From: Dusan Klinec Date: Wed, 12 Sep 2018 16:35:35 +0200 Subject: [PATCH] xmr: iface cleanup --- src/apps/monero/controller/iface.py | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/src/apps/monero/controller/iface.py b/src/apps/monero/controller/iface.py index 8625ab1b0..222c60d3b 100644 --- a/src/apps/monero/controller/iface.py +++ b/src/apps/monero/controller/iface.py @@ -87,23 +87,14 @@ async def confirm_transaction(self, tsx_data, creds=None, ctx=None): await ui.backlight_slide(BACKLIGHT_DIM) slide = ui.backlight_slide(BACKLIGHT_NORMAL) - # await ui.backlight_slide(BACKLIGHT_NORMAL) text = Text("Signing transaction", ui.ICON_SEND, icon_color=ui.BLUE) text.normal("Signing...") - try: - layout = await layout.simple_text(text, tm=500) - log.debug(__name__, "layout: %s", layout) - workflow.closedefault() - workflow.onlayoutstart(layout) - loop.schedule(slide) - # display.clear() - - finally: - pass - # loop.close(slide) - # workflow.onlayoutclose(layout) + layout = await layout.simple_text(text, tm=500) + workflow.closedefault() + workflow.onlayoutstart(layout) + loop.schedule(slide) await loop.sleep(200 * 1000) return True