1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00

trezor.ui.confirm: fix HoldToConfirmDialog

This commit is contained in:
Jan Pochyla 2017-01-20 14:05:32 +01:00
parent 7b23144ddd
commit fed8838545

View File

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