From 96cdd886bcb37982d193f525d157a101720a7056 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Mon, 15 Jul 2019 14:16:49 +0200 Subject: [PATCH] core: fix Hold To Confirm button --- core/src/apps/common/confirm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/apps/common/confirm.py b/core/src/apps/common/confirm.py index f64cbcf2c0..85e4aa16e2 100644 --- a/core/src/apps/common/confirm.py +++ b/core/src/apps/common/confirm.py @@ -51,8 +51,8 @@ async def hold_to_confirm( ctx: wire.Context, content: ui.Control, code: int = ButtonRequestType.Other, - confirm: ButtonContent = Confirm.DEFAULT_CONFIRM, - confirm_style: ButtonStyleType = Confirm.DEFAULT_CONFIRM_STYLE, + confirm: ButtonContent = HoldToConfirm.DEFAULT_CONFIRM, + confirm_style: ButtonStyleType = HoldToConfirm.DEFAULT_CONFIRM_STYLE, loader_style: LoaderStyleType = HoldToConfirm.DEFAULT_LOADER_STYLE, ) -> bool: await ctx.call(ButtonRequest(code=code), ButtonAck)