mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-26 09:28:13 +00:00
trezor.ui.confirm: fix HoldToConfirmDialog
This commit is contained in:
parent
7b23144ddd
commit
fed8838545
@ -74,8 +74,8 @@ class HoldToConfirmDialog():
|
||||
return self.content.send(event, pos)
|
||||
|
||||
async def __iter__(self):
|
||||
await loop.Wait([self._render_loop(),
|
||||
self._event_loop()])
|
||||
return await loop.Wait([self._render_loop(),
|
||||
self._event_loop()])
|
||||
|
||||
def _render_loop(self):
|
||||
RENDER_DELAY = const(1000000 // 60)
|
||||
|
Loading…
Reference in New Issue
Block a user