mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-21 23:18:13 +00:00
Merge pull request #667 from malinah/malinah/confirmbtn
core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection.
This commit is contained in:
commit
c261427d73
@ -82,7 +82,7 @@ class Loader(ui.Component):
|
||||
display.loader(
|
||||
r, False, Y, s.fg_color, s.bg_color, res.load(s.icon), s.icon_fg_color
|
||||
)
|
||||
if r == 0:
|
||||
if (r == 0) and (self.stop_ms is not None):
|
||||
self.start_ms = None
|
||||
self.stop_ms = None
|
||||
self.on_start()
|
||||
|
Loading…
Reference in New Issue
Block a user