mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
core/trezor/ui/loader: fixes #655 Button hold-to-confirm press detection.
This commit is contained in:
parent
68a3094b0a
commit
2143978b12
@ -82,7 +82,7 @@ class Loader(ui.Component):
|
|||||||
display.loader(
|
display.loader(
|
||||||
r, False, Y, s.fg_color, s.bg_color, res.load(s.icon), s.icon_fg_color
|
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.start_ms = None
|
||||||
self.stop_ms = None
|
self.stop_ms = None
|
||||||
self.on_start()
|
self.on_start()
|
||||||
|
Loading…
Reference in New Issue
Block a user