mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 11:28:14 +00:00
ui: fix content invalidation in HoldToConfirmDialog
This commit is contained in:
parent
4f28093d2e
commit
4709af146b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user