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

ui: fix content invalidation in HoldToConfirmDialog

This commit is contained in:
Jan Pochyla 2019-02-18 11:33:12 +01:00
parent 4f28093d2e
commit 4709af146b

View File

@ -91,7 +91,6 @@ class HoldToConfirmDialog(Widget):
self.loader.start()
return _STARTED
if was_active and not is_active:
self.content.taint()
if self.loader.stop():
return CONFIRMED
else:
@ -108,6 +107,7 @@ class HoldToConfirmDialog(Widget):
else:
result = await loop.spawn(self.loader, super().__iter__())
else:
self.content.taint()
if __debug__:
result = await loop.spawn(super().__iter__(), confirm_signal)
else: