1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-22 12:32:02 +00:00

remove non-functional code

This commit is contained in:
M1nd3r 2024-08-22 14:36:31 +02:00
parent 557a32c17a
commit 6cd5e2e73e

View File

@ -344,14 +344,6 @@ class Layout(Generic[T]):
if msg is None:
return
# XXX DOES NOT WORK YET
if isinstance(msg, ButtonRequest):
# FIXME: special return value for "layout has changed"
# and the buttonrequest is an attribute on that value
from apps.debug import notify_layout_change
notify_layout_change(self)
# when emitting a message, there should not be another one already waiting
assert self.result_box.is_empty()