From ab9a82e95abfd77d8ed14f4d225f65ca1fcec73a Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Mon, 26 Feb 2018 17:13:17 +0100 Subject: [PATCH] src/apps/fido_u2f: fix confirmation --- src/apps/fido_u2f/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/fido_u2f/__init__.py b/src/apps/fido_u2f/__init__.py index 5ef02ec74e..e6e8e1b6dc 100644 --- a/src/apps/fido_u2f/__init__.py +++ b/src/apps/fido_u2f/__init__.py @@ -469,13 +469,13 @@ class ConfirmState: @ui.layout async def confirm_layout(self) -> None: - from trezor.ui.confirm import HoldToConfirmDialog + from trezor.ui.confirm import HoldToConfirmDialog, CONFIRMED content = ConfirmContent(self.action, self.app_id) dialog = HoldToConfirmDialog(content) ui.display.clear() - return await dialog + return await dialog == CONFIRMED