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:
parent
557a32c17a
commit
6cd5e2e73e
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user