mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-10 04:16:16 +00:00
core: fix Hold To Confirm button
This commit is contained in:
parent
d073102422
commit
96cdd886bc
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user