mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-06 13:31:00 +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()
|
self.loader.start()
|
||||||
return _STARTED
|
return _STARTED
|
||||||
if was_active and not is_active:
|
if was_active and not is_active:
|
||||||
self.content.taint()
|
|
||||||
if self.loader.stop():
|
if self.loader.stop():
|
||||||
return CONFIRMED
|
return CONFIRMED
|
||||||
else:
|
else:
|
||||||
@ -108,6 +107,7 @@ class HoldToConfirmDialog(Widget):
|
|||||||
else:
|
else:
|
||||||
result = await loop.spawn(self.loader, super().__iter__())
|
result = await loop.spawn(self.loader, super().__iter__())
|
||||||
else:
|
else:
|
||||||
|
self.content.taint()
|
||||||
if __debug__:
|
if __debug__:
|
||||||
result = await loop.spawn(super().__iter__(), confirm_signal)
|
result = await loop.spawn(super().__iter__(), confirm_signal)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user