1
0
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:
Jan Pochyla 2018-01-11 20:05:26 +01:00
parent 248daa8970
commit 4a83864593

View File

@ -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: