mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-07-13 10:08:08 +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,
|
ctx: wire.Context,
|
||||||
content: ui.Control,
|
content: ui.Control,
|
||||||
code: int = ButtonRequestType.Other,
|
code: int = ButtonRequestType.Other,
|
||||||
confirm: ButtonContent = Confirm.DEFAULT_CONFIRM,
|
confirm: ButtonContent = HoldToConfirm.DEFAULT_CONFIRM,
|
||||||
confirm_style: ButtonStyleType = Confirm.DEFAULT_CONFIRM_STYLE,
|
confirm_style: ButtonStyleType = HoldToConfirm.DEFAULT_CONFIRM_STYLE,
|
||||||
loader_style: LoaderStyleType = HoldToConfirm.DEFAULT_LOADER_STYLE,
|
loader_style: LoaderStyleType = HoldToConfirm.DEFAULT_LOADER_STYLE,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
await ctx.call(ButtonRequest(code=code), ButtonAck)
|
await ctx.call(ButtonRequest(code=code), ButtonAck)
|
||||||
|
Loading…
Reference in New Issue
Block a user