mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-20 21:38:26 +00:00
ui/confirm: fix content in HoldToConfirmDialog
This commit is contained in:
parent
248daa8970
commit
4a83864593
@ -66,6 +66,7 @@ class HoldToConfirmDialog(Widget):
|
|||||||
button.touch(event, pos)
|
button.touch(event, pos)
|
||||||
is_started = button.state & BTN_STARTED and button.state & BTN_ACTIVE
|
is_started = button.state & BTN_STARTED and button.state & BTN_ACTIVE
|
||||||
if is_started and not was_started:
|
if is_started and not was_started:
|
||||||
|
ui.display.clear()
|
||||||
self.loader.start()
|
self.loader.start()
|
||||||
return _STARTED
|
return _STARTED
|
||||||
if was_started and not is_started:
|
if was_started and not is_started:
|
||||||
|
Loading…
Reference in New Issue
Block a user